GENERATE/PREV.gifGENERATE/NEXT.gif

Control Constructs

MAXScript has several <expr> expression forms that are used to control the flow of execution. They are:

<if_expr>

<while_loop>

<do_loop>

<for_loop>

<loop_exit>

They correspond to the classical control constructs found in most programming languages. Each is described in its own topic:

If Expression

While and Do Loops

For Loop

Loop Exit