Development Topics > BASIC Extensions > PLUS Extensions

Hex, Octal, ASCII Values

Hex, octal, and ASCII radix notation can be used to specify numeric literal values, i.e.:

&h100         ! hex 100 (256 decimal)

&o100         ! octal 100 (64 decimal)

'A'           ! ascii A (65 decimal)

 

These can be used in expressions where you would otherwise be able to use numeric literal values.

As of A-Shell build 1175 of February 2010, octal and hex values are supported in DATA statements.