Difference between revisions of "Selecting an array index"
Davidpaine (talk | contribs) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category: Arrays]] | |
− | [[ | + | *Double click on <code>Maintenance cost</code> to open its [[object window]]. |
+ | *Select ‘Table’ from the [[expr]] popup menu. | ||
− | + | :[[Image:Maintenance cost table.jpg]] | |
− | + | *Press '''OK''' from the question box that will appear | |
+ | *On the Indexes window, double click <code>Car type</code> to make it your index slice. | ||
+ | *Press '''OK''' button | ||
− | + | '''Expected: Edit table of <code>Maintenance cost</code> with <code>Car type</code> as the index appears''' | |
− | + | *Select the first cell. | |
+ | *Change 0 to 1200 | ||
+ | *Press arrow down to select the next cell. | ||
− | [[Image: | + | :[[Image:Selecting an array edit table maintenance.jpg]] |
+ | |||
+ | *Change 0 to 2400. | ||
+ | *Click on the green check button to accept the values. | ||
+ | *Click result button to bring up result table. | ||
+ | |||
+ | '''Expected: Result table of <code>Maintenance cost</code> would be indexed by <code>Car type</code>. with cell values 1200 and 2400''' | ||
+ | |||
+ | :[[Image:Result_Maintenance_cost.jpg]] | ||
+ | |||
+ | ==See Also== | ||
+ | * [[Creating Arrays (Tables)]] |
Latest revision as of 06:53, 24 July 2018
- Double click on
Maintenance cost
to open its object window. - Select ‘Table’ from the expr popup menu.
- Press OK from the question box that will appear
- On the Indexes window, double click
Car type
to make it your index slice. - Press OK button
Expected: Edit table of Maintenance cost
with Car type
as the index appears
- Select the first cell.
- Change 0 to 1200
- Press arrow down to select the next cell.
- Change 0 to 2400.
- Click on the green check button to accept the values.
- Click result button to bring up result table.
Expected: Result table of Maintenance cost
would be indexed by Car type
. with cell values 1200 and 2400
See Also
Comments
Enable comment auto-refresher