You can place control commands inside other control commands, for example an If...Then...Else
block within another loop. A control command placed inside another
control command is said to be nested.
Control commands in Visual RPG can be nested to as many levels as you want. It is common practice to make nested decision structures and loops more readable by indenting the body of each one. See the individual commands within the Visual RPG Language Reference for specific nesting structures.
Related Sections
- Decision Structures
- Briefly describes control-flow commands used for branching.
- Loop Structures
- Discusses control-flow commands used to repeat processes.