next up previous contents index
Next: Receiving input from the Up: Loops: Previous: A loop with foreach   Contents   Index


A loop with forever

Here is the syntax for the primitive forever:
 forever instructions_list
Repeat forever a block of instructions waiting for a command to stop the loop.
Eg: forever [fd 1 rt 1]
Be careful when you use this primitive because of the infinite loop!



Loïc 2008-06-08