Exit

Immediately exits the current loop

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Void

Quick Summary

Immediately exits the current loop

Technical Exegesis...

Immediately exits the current loop. Breaks out of For, While, Repeat, or Forever loops and continues execution with the code following the loop's closing statement (Next, Wend, Until, or Forever). Commonly used with If statements to exit loops when a specific condition is met. Inside a Select, Exit leaves the Select: end each Case's code with it, or the code carries on into the next Case.

Example

Example.bam
; No example implemented yet