|
|
Bungee Logic : Statement : If ConditionFrom $1Table of contents
Back to Bungee Logic Statements
DescriptionEvaluates a series of one or more cases, similar to a switch statement. Syntax
Where:
LogicThe simplest form of a condition statemment holds a single case statement. In this case it is similar to an IF statement in functionality. condition { case(true_false_expression) { // True logic goes here } };
It is even possible to create an IF THEN ELSE statement by selecting and utilizing the Handle Default property as shown here. condition { case(true_false_expression) { // True logic goes here } default { // Else logic goes here } };
And of course, a multitple SWITCH/CASE statement can be created (with default handling) as illustrated below. condition { case(Answer==option_1) { // Option One Code } case(Answer==option_2) { // Option Two Code } case(Answer==option_3) { // Option Three Code } default { // Error Handling Logic goes here } };
Error Handling-None- Intrinsics-None- Properties
Tab Title Bar
See Also
Tags:
|
|||