HEX$

This command will return an eight character string equivalent to the hexadecimal representation of the number provided.

  Syntax
Return String=HEX$(Value)
  Parameters
Value
Integer
The number this command will use

  Returns

The value returned is the hexidecimal representation string of the specified value

  Description

The value provided should be an integer value.

  Example Code
PRINT "NUMBER:";42;"  BINARY:";BIN$(42);"  HEX:";HEX$(42)
WAIT KEY
  See also

TEXT Commands Menu
Index