Next: PENCIL
Up: GREG1 Language Internal Help
Previous: LIMITS /YLOG
Contents
Index
LOOK
[GREG1\]LOOK "Command"
Calls the cursor, and executes the specified command each time it is
pressed. The command can be a procedure (e.g. @my_look) and can test the
pressed character which is added at the end as first argument. Usual
exit keys ("E", right-clic, ...) or "*" can be used to exit. For exam-
ple, a calling session may look like:
GREG-PROMPT> LOOK "SAY You pressed "
You pressed Q
GREG-PROMPT>
if "Q" and then "E" have been pressed.
Gildas manager
2014-07-01