Previous

Next

 

Flowchart instructions

 

The template panel lists all flowchart instructions available in LARP:

Instructions

Descriptions

Sequential instruction: allows formulating sequential instructions such as assignments as well as opening and closing input/output channels, etc.

Input/output instruction: allows formulating input/output instructions to the console, input/output buffer or files.

Auxiliary module call: invoke an auxiliary module (pseudo code or flowchart) during execution.

Comment: insert non executable informations in the flowchart.

IF conditional structure: a sequence of instructions to be executed or not according to the value of a given condition.

IF-ELSE conditional structure: two sequences of instructions, one of which is to be executed according to the value of a given condition.

WHILE repetitive structure: a sequence of instructions to be executed repeatedly according to the value of a given condition.

REPEAT-UNTIL repetitive structure : a sequence of instructions to be executed repeatedly according to the value of a given condition.

FOR repetitive structure: a sequence of instructions to be executed repeatedly a given number of times.

SELECT structure: conditional structure consisting of one or more sequences of instructions, one of which is to be executed according to the value of a given mathematical expression.

IF-ELSE-IF conditional structure: conditional structure consisting of one or more sequences of instructions, one of which is to be executed according to the value of a given conditions.

Branching for conditional structures:  allows adding alternate sequences of instructions in SELECT structure and IF-ELSE-IF conditional structure.

Many instructions offer a choice of orientation (such as conditional structures). The orientation of such instructions is purely esthetical and of no significance in the execution of the algorithm.