SecondBASIC Documentation v3

Home / Function Reference / Hex$()

Hex$()

Description: Converts <number> into formatted HEX string.

Syntax:

Hex$(<number>)

Part Description
<number> Required. This can either be an integer, long, or constant.

Example:

        a = 500
        Print Hex$(a)