aboutsummaryrefslogtreecommitdiffstats
path: root/test/ordchr.awk
blob: 5d6ffe9f5d03e7ba47860e8b70181e4b6e82b045 (plain)
1
2
3
4
5
6
7
8
9
10
11
@load "ordchr"

BEGIN {
   print chr(ord("A"))
   print chr(ord("0"))
   print ord(chr(65))
   # test if type conversion between strings and numbers is working properly
   print chr(ord(0))
   print ord(chr("65"))
   print ord(chr("159"))
}