Finding A Cell's Label - Epson FX-80 User Manual

Hide thumbs Also See for FX-80:
Table of Contents

Advertisement

(JJ (JJ
1
(JJ (JJ
(JJ (JJ
1
(JJ (JJ
==C>
00.00
(JJ
1 1 1 1
00.00
- -
0 • • • •
1
(JJ
1
(JJ (JJ
.0.00
Figure 15·3. Ones and zeros become dots and no·dots.
Why all this fuss and stew about arrays? Our purpose here is to
simulate a plotter, remember? And once the correspondence between
array cells and dot positions is firmly established, we can easily plot in
any direction in the array.
Let's look at the way each cell is named. The cells are arranged in
rows and columns, so each cell can be easily pinpointed by its row and
column position.
COLUMN
1
2
3
4
r------~T------------
r--~
- - -
1
2
(2,3)
ROW
3
f - - - - - + - - - - - - - - - + - - - - - - j - -
4
Figure 15·4. Finding a cell's label.
The example cell of Figure 15-4 is at the intersection of row 2 and
column 3, so it is labelled cell (2,3).
In
BASIC, you give the entire
array a name, then append the address to the name. If the array of
Figure 15-4 is array A, the cell name is A(2,3).
169

Advertisement

Table of Contents
loading

Table of Contents