Difference between revisions of "Selecting an array index"

 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
1. Select ‘Car type’ in the indexes list. Click ‘move button (>>)’.  Click ‘ok’.
+
[[Category: Arrays]]
  
[[Image:Indexes.jpg]]
+
*Double click on <code>Maintenance cost</code> to open its [[object window]].
 +
*Select ‘Table’ from the [[expr]] popup menu.
  
2. Select the first cell.  
+
:[[Image:Maintenance cost table.jpg]]
  
3. Enter 1200. Press arrow down to select the next cell.  
+
*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
  
4. Enter 2400.
+
'''Expected: Edit table of <code>Maintenance cost</code> with <code>Car type</code> as the index appears'''
  
5. Click on the check button to accept the values.
+
*Select the first cell.
 +
*Change 0 to 1200
 +
*Press arrow down to select the next cell.
 +
 
 +
:[[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.
Maintenance cost table.jpg
  • 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.
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 Maintenance cost would be indexed by Car type. with cell values 1200 and 2400

Result Maintenance cost.jpg

See Also

Comments


You are not allowed to post comments.