Select

Begins a multi-way branch statement that tests an expression against multiple values

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Void

Quick Summary

Begins a multi-way branch statement that tests an expression against multiple values

Technical Exegesis...

Begins a multi-way branch statement that tests an expression against multiple values. Syntax is Select expression followed by Case statements. Evaluates the expression once, then compares it against each Case value. More efficient than multiple If/ElseIf statements when testing one variable against many values. Must be closed with EndSelect.

Example

Example.bam
; No example implemented yet