#ascii(), #code(), #ord()
DESCRIPTION returns the ASCII value of the first character in a string
SYNOPSIS #ascii(s) #code(s) #ord(s)
ARGUMENTS s - a quoted string, or string expression
EXAMPLES
# pikt +C 'output $text(#ascii("A"))'
65
# pikt +C 'output $text(#ascii($char(65)))'
65
# pikt +C 'output $text(#code("Enigma"))'
69
rule
set #ordval = #ord($inlin)
SEE ALSO $char() String Functions Numerical Functions