Previous Next Contents


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
~n
replaced with a newline character
~c
replaced by the user's callsign
~e
replaced by the Error variable
~b
replaced with a bell character
~h
replaced by the name of the host computer
~d
replaced by the current date
~t
replaced by the current time
~u
un-terminate the current line; remove ending newline character
~l
replaced by the elapsed time of this script, in seconds
~p
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

Previous Next Contents