Bungee Logic : Statement : Case ()

Page Status: Beta

Back to Bungee Logic Statements

Contents

Description

Evaluates a value or expression and conditionally executes a block of code.

May be added to an existing If Condition block to add additional cases.

Syntax

case(expression) { }

Where:

expression The code within the case block is executed if the expression evaluates to true.

Logic

 

case(CurrentIndex==3)

{

     // Your code goes here

}

 

Error Handling

-None-

Intrinsics

-None-

Properties

  • case — Evaluate this expression to determine whether or not to execute the code block

Tab Title Bar

  • Comment Out — Comments out the entire section of code.

See Also

Expressions Cheat Sheet


Log in if you would like to rate this page.
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.