SecondBASIC Documentation v3

Home / Function Reference / Bin$()

Bin$()

Description: Converts an integer, long, hex, or decimal value into a binary string.

Syntax:

Bin$(<number>)

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

Example:

        Print Bin$(&hFF)