next up previous contents
Next: 2.26 errors Up: 2. General commands Previous: 2.24 system

2.25 wait

wait [$ \{$"return" | "input"$\} $]


This command waits for user input. Without a parameter or with "return", the program waits for a simple <RETURN>. If the first parameter is "input", the program expects the user to enter a real number, which is stores in the variable res[1].

This command allows to write quasi interactive macros, demo macros and tutorials.


Thomas Proffen {Billinge}
1999-07-20