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

12 lines
241 B
Awk
Raw Normal View History

2024-04-01 15:19:46 +00:00
@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"))
}