| lzSetBooleanTrueThe lzSetBooleanTrue function determines which value (0x01, 0xFF) will be used to represent boolean true. Elzed expresses boolean true as 0x01 by default. void lzSetBooleanTrue( | char cBooleanTrueCode | | // character code for boolean true |
);
ParameterscBooleanTrueCode | | The code character must be one of the following values:
Code
|
Constant
|
Meaning |
'C'
|
kTrueOne
|
0x01 represents boolean true |
'N'
|
kTrueNegOne
|
0xFF represents boolean true |
While passing the character code itself will work, passing the constant is a better idea long term. |
Return Value
Remarks | This function is provided to support Visual Basic, which uses -1 to represent boolean TRUE. This function must be called after lzClearContext, but before lzSetContext. The setting may not be changed for a given context once lzSetContext has been called.
Note that this function affects only output. Elzed considers any non-zero value to be true, and any zero value to be false. |
Versions | Introduced in Elzed 1.0.0 | | This page describes the version of lzSetBooleanTrue active in Elzed 2.5.0 (90: 2.5.0) |
|