lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Everyone

Is there a way to write to standard out without generating a new line. For example:

print("this is one line"); print("this is after it")

gives:
this is one line
this is after it

This generates two lines and if we continued on it would generate more. I would like to display a reading at the command line, for example a temperature such as 35C. When the value changes I would like the new value to appear where the old one was rather then this:

34C
36C
32C

Is there a way to do this?

Thanks for reading-Patrick