Liberty BASIC Help Online

HEXDEC( "value" )
HEXDEC( "value" )
This function returns a numeric decimal from a hexadecimal number expressed in a string.  Hexadecimal values are represented by digits 0 - F. The hexadecimal number can be preceded by the characters "&H". The hexadecimal string must be enclosed in quote marks.
    print hexdec( "FF" )
    print hexdec( "&HFF")
See also: DECHEX$( )

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -