Manual:DIL Manual/goto

From DikuMUD Wiki
Jump to navigation Jump to search

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
dilend
---~---~---~---~---~---~---~---~---

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
dilend
---~---~---~---~---~---~---~---~---