Binary String Intrinsic Functions - AsByte Method

Return the variable as a byte

Member of Binary String Intrinsic Functions (PRIM_LIBI.IBinaryStringIntrinsics)

Parameters

Name Type Data Type Description
Result *Result (Optional) Integer Resulting byte

Details

AsByte returns the numeric code page value for the specified index

Example

In this example, if #Number contained 105, the result after conversion to a string would be "i"
#Result := #Number.AsByte.AsString

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020