LCD AddIntToBuffer

From the Oblivion ConstructionSet Wiki
Revision as of 18:32, 29 March 2008 by imported>Speedo (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Logitech G15 LCD

Syntax:

LCD_AddIntToBuffer Value:long FieldSize:long ZeroPad:bool

Adds an integer to the text buffer. FieldSize determines the size, in characters, of the field that will be shown. If ZeroPad is 1, the value will be padded with leading zeros if it contains less characters than FieldSize.

Example

The following use of the function:

LCD_AddIntBuffer 2 4 1

Would print "0002".