18.10.2014 Views

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SIMSCRIPT II.5 Programming Language

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figures<br />

Figure 1-1. Flow of Control After an if Statement ............................................ 13<br />

Figure 1-2. Flow of Control After Shortened if Statement ............................... 14<br />

Figure 2-1. A List Structure: One-dimensional Array ....................................... 43<br />

Figure 2-2. Elements of a One-dimentional Array Called LIST ....................... 44<br />

Figure 2-3. A Table Structure: A Two-dimensional Array ................................ 45<br />

Figure 2-4. Elements of a Two-dimensional Array Called TABLE .................. 45<br />

Figure 2-5a. Program Consisting of a Subprogram Called by a Main Routine . 53<br />

Figure 2-5b. Program Consisting of Two Subprograms Called by a<br />

Main Routine ................................................................................. 53<br />

Figure 2-5c. Program Consisting of Three Subprograms and a Main Routine 54<br />

Figure 2-6. Tree Construction ......................................................................... 79<br />

Figure 2-7. A Binary Tree ................................................................................ 80<br />

Figure 2-8. A Complex Tree ............................................................................ 81<br />

Figure 3-1. Report Using Row and Column Repetition ................................. 125<br />

Figure 3-2. Column Repetition, Page 1 ......................................................... 130<br />

Figure 3-3. Column Repetition, Page 2 ......................................................... 131<br />

Figure 3-4. An Example of Column Repetition .............................................. 132<br />

Figure 3-5. An Example of Format Suppression ........................................... 134<br />

Figure 4-1. Storage of Attributes in a Two-dimensional Array ...................... 138<br />

Figure 4-2. Order of Storage of the Attributes of an Entity ............................ 139<br />

Figure 4-3. Automatically-defined Attributes of COMMUNITY Entities ......... 140<br />

Figure 4-4. Automatically-defined Attributes for Members of the Class MAN 140<br />

Figure 4-5. Owner-member Set Relationships .............................................. 141<br />

Figure 4-6. Set Relationships ........................................................................ 142<br />

Figure 4-7. Set Relationships ........................................................................ 143<br />

Figure 4-8. Entity Creation ............................................................................ 145<br />

Figure 4-9. Attribute Storage of Permanent Entities ..................................... 148<br />

Figure 4-10. Storage of Attributes of a Permanent Entity ............................. 152<br />

Figure 4-11. Storage of Attributes of a Temporary Entity .............................. 152<br />

Figure 4-12. Storage of System Attributes and Set Pointers ........................ 152<br />

Figure 4-13. Entity Structures for FARM and DOG ....................................... 154<br />

Figure 4-14. Entity Records .......................................................................... 155<br />

Figure 4-15. Entity Records .......................................................................... 155<br />

Figure 4-16. Entity Records .......................................................................... 157<br />

Figure 4-17. Entity Records .......................................................................... 158<br />

Figure 4-18. A Set with Two Members .......................................................... 159<br />

Figure 4-19. A Set with Three Members ....................................................... 160<br />

Figure 4-20. FIFO and LIFO Set Organizations ............................................ 163<br />

Figure 4-21. Entity Structures for TANKER and TUG ................................... 170<br />

Figure 4-22. Display of Result Produced by Data Analysis Program ............ 180<br />

v

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!