4. TScript text control sequences

There are a few special character sequences, which all begin with the '~' character. All other characters pass through unchanged. The special control sequences in data lines are:


replaced by a single '~' character


replaced with a newline character


replaced by the user's callsign


replaced by the Error variable


replaced with a bell character


replaced by the name of the host computer


replaced by the current date


replaced by the current time


un-terminate the current line; remove ending newline character


replaced by the elapsed time of this script, in seconds


replaced with the file position of the current data file

~0 .. ~9

replaced by variable string 0 .. 9

~i0 .. ~i9

replaced by value of index 0 .. 9