I was running a long program recently, and every now and again I wanted a little output to indicate how far the program had got. The "output" command includes a line feed, which I don't want. I've tried:
)set expose add constructor IPRNTPK
but then, for example:
for i in 1..10 repeat iprint(i::String)
produces the output:
1 >> System error: FLUSH is invalid as a function.