8. AI Development8. AI Development\8.2 Statement Management8.2 Statement Management\8.2.1 Add A New Statement

8.2.1  Add A New Statement

A program is formed by one or more statements in sequence. Each statement will have an expression.

Procedure of adding new statement:

1.    Select the statement/sub-statement which you wish the new statement to be appended in the project. Right click and choose “Add a new sub-statement” or “Add a new statement” as shown in Fig.8-13.

Picture7

Fig. 8-13: Adding a new statement

2.    Assign a meaningful name to the statement created. The new statement will then be added as shown in Fig 8-14.

Picture8

Fig. 8-14: Assigning a new statement name

The statement type, conditions and actions associated with the new statement need to be specified. It will be illustrated in section 8.3 and 8.4.

You can continue to add more statements to the program.

 

Top of Page