Skip to content

Manual:DIL Manual goto

iamnove edited this page Jan 18, 2023 · 53 revisions


goto:
    The goto statement lets you jump about in the code.
    Labels in your DIL programs, for 'goto' or interrupts
    are defined within ':'. For an example, see the program below.
Example:

dilbegin foo(); code { :mylabel: exec("say Hello world",self); pause; goto mylabel; } dilend

---~---~---~---~---~---~---~---~---
Clone this wiki locally