Difference between revisions of "ON()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the commands assigned to the ON commands | Function to return the commands assigned to the ON commands | ||
Line 46: | Line 42: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 17:28, 3 December 2009
Purpose
Function to return the commands assigned to the ON commands
Syntax
ON(<expC1> [,<expC2>])
See Also
INKEY(), LASTKEY(), ON ERROR, ON KEY, ON PAGE, READKEY()
Description
The ON() function will return the name of a command assigned to an ON command. The particular ON command is specified with <expC1>.
ON Command | <expC1> |
---|---|
ON ERROR | ERROR |
ON ESCAPE | ESCAPE |
ON KEY | KEY |
ON KEY LABEL | KEY |
ON PAGE | PAGE |
The optional <expC2> is used to return the command assigned to the specific key or key-combination in ON KEY LABEL.
Example
? on("KEY", "F7") do mail
Products
Recital, Recital Server