Difference between revisions of "NESTED-IFS"

From 4Dimensions
Jump to: navigation, search
(Bot: Automated import of articles)
 
(No difference)

Latest revision as of 05:00, 26 January 2016

NESTED-IFS

NESTED-IFS

NESTED-IFS

NESTED-IFS


A nested if is an if statement contained within another if or if...else

statement. Nested if's allow the creation of a decision tree or flow chart

of events with multiple conclusions.

Always use /f to format and indent your trigger. This will warn you if you

do not have the correct number of ifs to ends. {cRWARNING:{c0 multiple unmatched

if/ends will crash us. Make sure everything lines up with /f before you test.


Example: {cRTSTAT 1490, 41000{c0