/usr/share/doc/basic256/examples/BASICtest1.kbs is in basic256 0.9.6.69a-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | REM arithmetic operator test
if 4 < 5 then print "PASS <"
if 5 < 4 then print "FAIL <"
if 5 > 4 then print "PASS >"
if 4 > 5 then print "FAIL >"
if 4 <= 5 then print "PASS <="
if 5 <= 5 then print "PASS <="
if 5 <= 4 then print "FAIL <="
if 4 >= 4 then print "PASS >="
if 5 >= 5 then print "PASS >="
if 4 >= 5 then print "FAIL >="
if 4 = 4 then print "PASS ="
if 4 = 5 then print "FAIL ="
if 4 <> 5 then print "PASS <>"
if 4 <> 4 then print "FAIL <>"
|