Log In  

According to documentation
PRINT returns the right-most x position that occurred while printing

One can make a valid case that certain print control codes may result in unusual return values, but this one doesn't feel right to me.

x = print('\^iabcde')
print(x)
y = print('\^d2abcde')
print(y)

results in

The speed of the print output shouldn't affect our ability to receive the final x position, IMHO.

P#106380 2022-02-05 08:36


[Please log in to post a comment]