Simulation Modeling and Analysis with ARENA

This appendix provides a brief synopsis of the most frequently used Arena programming constructs (attributes, variables, and modules). For detailed information consult the Arena documentation and Help menu.
Throughout this appendix, we use the following notational conventions:
Bold italic is used for Arena reserved keywords.
Normal italic is used for syntactic elements to be replaced by user-provided names.
Bold is used for Arena literals.
Square brackets, [ ], denote optional items.
Accessibility is denoted by RO (read-only), RW (read-write), and W (write).
Following is a subset of frequently used Arena built-in variables and their accessibility. For a complete list, refer to the Arena documentation and Help menu.
Attribute Name [(Index 1, Index 2)]: ( RW) value of the entity attribute (if an array, then the parameters specify the element indices).
Entity. Type [(Entity Number)]: ( RO) type (or name) of a specific entity.
Entity. Picture [(Entity Number)]: ( W) entity's graphic (picture) to be used in animation.
Entity. SerialNumber ( RO): entity's automatically assigned identifier.
Entity. Sequence [(Entity Number)]: ( RW) station location number to which an entity is transferred next in a sequence.
Entity. Jobstep [(Entity Number)]: ( RW) index into entity, s sequence.
Entity. CurrentStation: ( RO) entity's current station location.
AG ( Rank, Attribute Number): (