Timings

Usually commands are executed immediately, but you can delay or periodically repeat a finite or infinite number of times.

Timings

  • # (periodic)

command # t unlimited periodic command is executed immediately and repeated every t seconds

command # 'Loop' command is executed in the interpreter's loop (used in sound management)

  • @ (limited)

command #t @n limited periodic command is executed n times, immediately and then repeated every t seconds


  • ## (delayed)

command ## d delayed command is executed only once in d second

command ## 'Next step' command is executed only once after about 1/10 of a second (used in finite state automata)

Example:

Previous operators can be combined in the following ways:

    • command # t ## d Delayed unlimited periodic command is executed between d seconds and then repeated every t seconds
    • command #t @n ## d Delayed limited periodic command is executed between d seconds n times every t seconds


  • ?? (list) displays active timed commands