Presentation space
The presentation space is a data structure that contains an element for each row and column position in the session window (but not including the last row of the session window, which is used for the Operator Information Area). The size of the presentation space depends on the size of the session window. For example, if the session window has 80 rows and 25 columns, then the size of the presentation space is 80 * 24 = 1920.
The position of the elements in the presentation space corresponds
serially to the row and column positions in the session window, reading
from left to right, top to bottom. For example, if the session window
has 80 rows and 25 columns, then:
Z and I Emulator for Web uses the presentation space to store the characters
that are to be displayed in the session window. Each element in the
presentation space is used to store one character (and information
about that character, such as intensity). For example, if the string
Message
appears
at row 1 and column 1 of the session window, then:
Although you normally will not need to use them, Formulas for calculating values
related to presentation space show the formulas for calculating various
values. The meanings of the symbols used in these formulas is as follows:
row
- A row location in the session windowcol
- A column location in the session windowpos
- A position in the presentation spaceNUMROWS
- The number of rows in the session window, not including the last row used for the Operator Information Area (OIA).NUMCOLS
- The number of columns in the session window.
Value: | Formula for calculating: |
---|---|
Size of the PS |
|
row |
|
col |
|
pos |
|