10 12 8 AsHexToInt

LANSA Technical

10.12.8 AsHexToInt

Access the integer equivalent of a hexadecimal string using this intrinsic.

Input Parameters

None

Example

Define Field(#myRBStr) Type(*BIN) Length(128)

Define Field(#L8Int) Type(*INT) Length(8)

 

#L8Int := 9999

#L8Int := #L8Int.AsBinString().AsHexToInt()

 

#L8Int contains 9999.

 

Ý 10.12 Binary Intrinsic Functions