Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Local $counter = 1
- While $counter <= 5
- ConsoleWrite("Iteration " & $counter & @CRLF)
- $counter += 1
- WEnd
- ConsoleWrite("While Loop Executed")
- ; Explanation:
- ; This While loop will continue as long as the condition $counter <= 5 is true.
- ; Inside the loop, ConsoleWrite is used to print the current iteration, and $counter is incremented.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement