Manual:DIL Manual/goto

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 22:38, 4 December 2025 by Nove (talk | contribs) (XML import)
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
---~---~---~---~---~---~---~---~---