Inhalt

Index

CASE

CASE is embedded in a SWITCH ... CASE ... SWITCH_END statement. SWITCH and CASE statements help control complex conditional and branching operations. The SWITCH statement transfers control to a statement within its body.

Syntax

CASE n

Parameters

n (integer): number of the case

Remarks

Example:

SWITCH test
CASE 1
TEXT2 0,0,"Switch case = 1"
BREAK
CASE 2
TEXT2 0,0,"Switch case = 2"
BREAK
SWITCH_END

Usable since script version 1.3 (Allplan 2013-1).



Allplan

(C) ALLPLAN GmbH

Privacy policy