UPK
Unpack Integer from String
This string function unpacks the results of the PCK function.
Syntax
Section titled “Syntax”UPK (string-value [,ERR=line-ref|,ERC=error-code])string-value- is a string containing numeric data that was previously packed with a PCK function.
line-ref- is the program line number or label to branch to if an error is produced by this function.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Remarks
Section titled “Remarks”This function is the inverse of the PCK function.
Examples
Section titled “Examples”LET X = UPK($0D23394F$)assigns X the value 12345678.
See also
Section titled “See also”PCK function
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF