-
Notifications
You must be signed in to change notification settings - Fork 52
Manual:DIL Manual break
iamnove edited this page Jan 18, 2023
·
55 revisions
break: The break statement makes you break out of any loop you're currently in.
Example:
dilbegin foo(); code { while (self.inside) { if (self.position < POSITION_SLEEPING) break; exec("say I own something", self); pause; } } dilend
---~---~---~---~---~---~---~---~---