NESTED-IFS

From 4Dimensions
Jump to: navigation, search

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