Code = Asc ( String [ , Position ] )
Returns the ASCII code of the character at position Position in the string . If Position is not specified, the ASCII code of the first character is returned.
Be careful! Gambas uses the UTF-8 charset internally, so character code greater than 128 have not the meaning they have with a charset like ISO8859-1.
PRINT Asc("Gambas")71
PRINT Asc("Gambas", 3)109