Debian Codegraph @

test/ordchr.awk

raw
1 @load "ordchr"
2
3 BEGIN {
4 print chr(ord("A"))
5 print chr(ord("0"))
6 print ord(chr(65))
7 # test if type conversion between strings and numbers is working properly
8 print chr(ord(0))
9 print ord(chr("65"))
10 print ord(chr("159"))
11 }