Home
Products
Community
Manuals
Contact
Login or Signup

BlitzPlus Docs -> 2D - Category -> Basic -> Exit

Exit

Parameters:

None

Description:

This command will allow you to leave a For .. Next loop as well as many other types of loops prematurely (assuming a condition was met or other planned event). It exits the IMMEDIATE loop - you'll need one for each 'nest' of loops you want to exit from.

Example:

; EXIT Command sample

For t = 1 To 100
Print t
If t = 50 Then Exit
Next
 

Comments

None.

BlitzPlus Manual Forum

Blitz3D Equivalent Command