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

www.microapl.co.uk

⎕C Control Characters


The niladic system function ⎕C returns a vector of the 32 ASCII control characters and rubout. It is mainly useful for sending escape sequences to dumb terminals or other low-level devices. For example, with ⎕IO (index origin) set to 1 (the default).

             ⎕C[1]       is   NUL
             ⎕C[8]       is   BELL
             ⎕C[9]       is   BACKSPACE
             ⎕C[10]      is   TAB
             ⎕C[11]      is   LINE FEED
             ⎕C[13]      is   FORM FEED
             ⎕C[14]      is   CARRIAGE RETURN
             ⎕C[28]      is   ESC
             ⎕C[33]      is   RUBOUT

Note that some of these character positions have been assigned to line-drawing characters in some versions of APLX.

See also ⎕TC.


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