EXAMPLE: A = &HAF
PARAMETERS: Hexadecimal value in the [0, FFFF] range.
EXPLANATION:
1. The hexadecimal value is expressed using values 0 to 9, plus characters A to
F.
2. In the manual mode, &H is entered followed by the hexadecimal value.
Pressing . . produces the decimal equivalent.
Example: Shift &H 1 B 7 F . . → 7039
3. The following shows a typical example within a program. Since a numeric
variable cannot be used following &H, the hexadecimal value is appended to
&H as a string, and then converted to a decimal value using the VAL function.
SAMPLE PROGRAM:
EXAMPLE: HEX$ (15)
PARAMETERS: Argument: numeric expression truncated to an integer in the
]-32769, 65536[ range. Values more than 32767 are converted by subtracting 65536.
EXPLANATION:
Returns a 4-digit hexadecimal string for a decimal value specified in the argument.
SEE: &H