Difference between revisions of "Selecting an array index"
Line 1: | Line 1: | ||
− | + | [[Category: Concepts]] | |
− | |||
− | [[ | + | *Double click on <code>Maintenance cost</code> to open its [[object window]]. |
+ | *Select ‘Table’ from the expr popup menu. | ||
− | + | :[[Image:Maintenance cost table.jpg]] | |
− | |||
− | |||
− | '''Expected: Edit table of Maintenance cost with Car type as the index appears''' | + | *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. | *Select the first cell. | ||
Line 14: | Line 16: | ||
*Press arrow down to select the next cell. | *Press arrow down to select the next cell. | ||
− | [[Image:Selecting an array edit table maintenance.jpg]] | + | :[[Image:Selecting an array edit table maintenance.jpg]] |
*Change 0 to 2400. | *Change 0 to 2400. | ||
Line 20: | Line 22: | ||
*Click result button to bring up result table. | *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''' | + | '''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)]] |
Revision as of 00:15, 18 February 2016
- 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</code. with cell values 1200 and 2400
See Also
Comments
Enable comment auto-refresher