newLISP v.10.7.3 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h
> (setq x 0) (while (!= (char "x") (read-key true)) (sleep 1000)(println (inc x))) nil
0
1
2
x3
3
nil
> (setq x 0) (while (!= (char "x") (read-key true)) (sleep 1000)(print (inc x))) nil
0
x1234566
nil