SecondBASIC Documentation v3

Home / Function Reference / Asc()

Asc()

Description: Converts a string into a real number.

Syntax:

Asc(<string>)

Part Description
<string> Required. This can either be a string variable or a string literal.

Example:

        a$ = "G"
        Print Asc(a$)