Previous Up Next

Chapter 2  Example 2: parameters and hierarchy in algorithm

From the principal window, choose File / Save as and save your second application under your tutorial folder with the name example2.

2.1  Definition of the function A

To create the A function definition:

The function A looks like the figure 2.2.

Figure 2.2: Function A

2.2  Definition of the function B

To create the B function definition:

The function B looks like the figure 2.3.

Figure 2.3: Function B

2.3  Definition of the algorithm with hierarchy

To create the Main algorithm:

The algorithm looks like the figure 2.4.

Figure 2.4: Algorithm of the Example 2

From the principal window, choose File / Close. In the dialog window, click on the Save button.

Previous Up Next