diff options
Diffstat (limited to 'test/ordchr.awk')
-rw-r--r-- | test/ordchr.awk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ordchr.awk b/test/ordchr.awk new file mode 100644 index 00000000..0295105e --- /dev/null +++ b/test/ordchr.awk @@ -0,0 +1,10 @@ +@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")) +} |