-
Notifications
You must be signed in to change notification settings - Fork 0
do...until
Grisgram edited this page Dec 29, 2024
·
6 revisions
do
// write the code to be repeated here
until <condition>[==true]
do...until is an exit-controlled-loop, meaning the loop body is always executed at least once. The exit condition is evaluated at the end of each iteration, unlike while or for loops, which check the condition before the loop body executes.
// A simple form of a repeat x-times loop
i = 0
do
// do something
i++
until i == 10Back to Repo ● Wiki Home
Copyright © coldrock.games
- Home
- Scriptor Contents
- Scriptor Configuration
- Notepad⁺⁺ Integration
- Create a Script
- $ Variables
- Call a GML Function
- Scriptor global functions
- #-Commands
- The Scriptor Broker
- Broker Events
- Self-Registering Scripts
- Registering Broker Events
- Scriptor Broker File Format
- Extending Scriptor
- var
- new
- goto
- gosub and return
- return (without gosub)
- call
- reset
- Loops
- Conditionals