Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕TC Terminal Control Characters
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

⎕TC and ⎕TCxx Terminal Control Characters


The niladic system function ⎕TC returns a three-element vector containing the three control characters: backspace, carriage return and linefeed. This is compatible with IBM's APL2 equivalent.

In addition, to assist migration of APL code from APL*Plus, APLX also supports the following niladic system functions which return specific 'terminal-control' characters as scalars:

⎕TCBEL	Bell character, equivalent to ⎕C[⎕IO+7]
⎕TCBS 	Backspace, equivalent to ⎕B or ⎕TC[⎕IO+0]
⎕TCDEL	Delete character, equivalent to ⎕C[⎕IO+32]
⎕TCESC	Escape character, equivalent to ⎕C[⎕IO+27]
⎕TCHT 	Horizontal tab character, equivalent to ⎕T or ⎕C[⎕IO+9]
⎕TCFF 	Formfeed character, equivalent to ⎕C[⎕IO+12]
⎕TCHT 	Horizontal tab character, equivalent to ⎕T or ⎕C[⎕IO+9]
⎕TCLF 	Linefeed character, equivalent to ⎕L or ⎕TC[⎕IO+2]
⎕TCNL 	Newline (carriage return) character, equivalent to ⎕R or ⎕TC[⎕IO+1]
⎕TCNUL	Null character, equivalent to ⎕AV[⎕IO+0]

Topic: APLX Help : Help on APL language : System Functions & Variables : ⎕TC Terminal Control Characters
[ Previous | Next | Contents | Index | APL Home ]