Text edits

Table of Contents

Previous | Top | Next

The Pseudocode Editor is a free format text editor that can detect various keywords to indicate different types of statements. As you make changes to the pseudocode, other components such as the Flowchart Editor is updated automatically.

 

Any statement that doesn’t start with a recognised keyword will be designated as an Assignment statement. Assignment statements are typically used for tasks such as setting the initial value of variables, changing the value of an existing variable or any other non-composite statement that can be described in a single line.

 

Composite Statements

Statements that can have children of their own are referred to as composite statements. Most composite statements have an associated end tag that terminates the statement.

 

Intermediate Statements

Branching statements (e.g. “if”, “try” and “switch”) can accept intermediate statements as children  (e.g. “else if”, “catch”). These statements can accept children of their own but don’t have an end tag like other composite statements. They are terminated by the next intermediate statement or the end tag of the parent statement.

 

Sub Procedures

Any statement that starts with the word “Call” is a special type of assignment statement that represents a call to a procedure. It will be represented in the Flowchart as an assignment statement with curved sides.