Long Integer Intrinsic Functions - AsBinString Method

Returns the variable as a binary string

Member of Long Integer Intrinsic Functions (PRIM_LIBI.ILongIntegerIntrinsics)


Name Type Data Type Description
Result *Result (Optional) Binary String Resulting binary string


AsBinString is used to create a binary string out of an integer value.
This can be used as a first step to creating a hexadecimal representation of an integer.


In this example, #String will contain the value "0F000000"
#String := (15).AsbinString.AsHexString

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020