Skip to content

Manual:DIL Manual while()

iamnove edited this page Jan 18, 2023 · 57 revisions


while:
    The while statement lets you execute a series of
    statements while an expression evaluates to TRUE.
Example:

dilbegin foo(); code { while (not self.inside) { exec("say I own nothing", self); pause; } exec("say ahh.. now i own something", self); } dilend

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