next up previous contents index
Next: PENCIL Up: GREG1 Language Internal Help Previous: LIMITS /YLOG   Contents   Index


        [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
    if "Q" and then "E" have been pressed.

Gildas manager 2021-09-24