String method
Syntax
Invoke String, lValue, lpszBuffer, lType
Function
Converts a numerical value to a null-terminated string.
Parameters
lValue
Numerical value to be converted.
lpszBuffer
Pointer to a buffer to receive the converted value.
lType
Type of conversion. It can be one of the following values:
0 ecBinary Converts the numerical value to a binary string value 1 ecDecimal Converts the numerical value to a decimal string value 2 ecHexa Converts the numerical value to a hexa decimal string value 3 ecOctal Converts the numerical value to an octal string value (see REMARKS)
Return value
Eax returns the number of characters placed in the buffer excluding the terminating null character.
NOTE: When the method returns, the last character in the
buffer is an 'H' for hexadecimal conversions, a 'B' for binary conversions and an 'O'
for octal conversions.
REMARKS: Octal conversions (ecOctal) are not yet implemented.