CTRL()
From Recital Documentation Wiki
Purpose
Function to return the numeric value of a control character
Syntax
CTRL(<expC>)
See Also
@...GET, @...MENU, INKEY(), LASTKEY(), NEXTKEY(), READKEY(), SET KEY
Description
The CTRL() function returns the numeric value of the specified control character. This function is extremely useful, when used in conjunction with the LASTKEY(), NEXTKEY() or READKEY() functions, for creating terminal independent programs.
Example
if readkey()=ctrl('g') set message to "Operation canceled." endif
Products
Recital Server, Recital