|
Previous Top Next |
Prototype: | (Long pVariable),String |
pVariable | Value to construct bit string for. This can be any integer variable. Note that this method only accepts 32bit integers at this point. |
Returns | Returns a bit string with 32 characters. |
This method takes any 32bit integer value, positive or negative and returns a 32bit binary string representing the integer value. Note that bits are zero (0) based so the lowest bit is 0, next is 1 and so on.
Example:
ITC ITCoreClass
L Long
S String(32)
Code
L = 8
Message('Binary code for ' & L & ' is: ' & ITC.GetBitString(L)
See also: