ubuntu-buildroot/output/build/host-gawk-5.2.0/test/ordchr.awk

12 lines
241 B
Awk

@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"))
}