HP 50g HP 50g_user's manual_English_HDPSG49AEM8.pdf - Page 109

Enter the following, Move the cursor up two positions by using

Page 109 highlights

@+ROW@ @-ROW @+COL@ @-COL@ @GOTO@ The @+ROW@ key will add a row full of zeros at the location of the selected cell of the spreadsheet. The @-ROW key will delete the row corresponding to the selected cell of the spreadsheet. The @+COL@ key will add a column full of zeros at the location of the selected cell of the spreadsheet. The @-COL@ key will delete the column corresponding to the selected cell of the spreadsheet. The key will place the contents of the selected cell on the stack. The @GOTO@ key, when pressed, will request that the user indicate the number of the row and column where he or she wants to position the cursor. Pressing L once more produces the last menu, which contains only one function @@DEL@ (delete). The function @@DEL@ will delete the contents of the selected cell and replace it with a zero. To see these keys in action try the following exercise: (1) Activate the Matrix Writer by using „². Make sure the and keys are selected. (2) Enter the following: 1`2`3` L @GOTO@ 2 @@OK@@ 1 @@OK@@ @@OK@@ 4`5`6` 7`8`9` (3) Move the cursor up two positions by using --. Then press @-ROW. The second row will disappear. (4) Press @+ROW@. A row of three zeroes appears in the second row. (5) Press @-COL@. The first column will disappear. (6) Press @+COL@. A column of two zeroes appears in the first column. (7) Press @GOTO@ 3 @@OK@@ 3 @@OK@@ @@OK@@ to move to position (3,3). (8) Press . This will place the contents of cell (3,3) on the stack, although you will not be able to see it yet. Press ` to return to normal display. The number 9, element (3,3), and the full matrix entered will be available in the stack. Page 8-4

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

Page 8-4
@+ROW@
@-ROW
@+COL@
@-COL@
@GOTO@
The
@+ROW@
key will add a row full of zeros at the location of the selected
cell of the spreadsheet.
The
@-ROW
key will delete the row corresponding to the selected cell of
the spreadsheet.
The
@+COL@
key will add a column full of zeros at the location of the
selected cell of the spreadsheet.
The
@-COL@
key will delete the column corresponding to the selected cell
of the spreadsheet.
The
key will place the contents of the selected cell on the stack.
The
@GOTO@
key, when pressed, will request that the user indicate the
number of the row and column where he or she wants to position the
cursor.
Pressing
L
once more produces the last menu, which contains only one
function
@@DEL@
(delete).
The function
@@DEL@
will delete the contents of the selected cell and
replace it with a zero.
To see these keys in action try the following exercise:
(1) Activate the Matrix Writer by using
„²
.
Make sure the
and
keys are selected.
(2) Enter the following:
1`2`3`
L
@GOTO@
2
@@OK@@
1
@@OK@@
@@OK@@
4`5`6`
7`8`9`
(3) Move the cursor up two positions by using
——
.
Then press
@-ROW
.
The second row will disappear.
(4) Press
@+ROW@
.
A row of three zeroes appears in the second row.
(5) Press
@-COL@
.
The first column will disappear.
(6) Press
@+COL@
.
A column of two zeroes appears in the first column.
(7) Press
@GOTO@
3
@@OK@@
3
@@OK@@
@@OK@@
to move to position (3,3).
(8) Press
.
This will place the contents of cell (3,3) on the stack,
although you will not be able to see it yet.
Press
`
to return to
normal display.
The number 9, element (3,3), and the full matrix
entered will be available in the stack.