Difference between revisions of "Selecting an array index"

 
(7 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.
  
{Edit table of Maintenance cost appears.}
+
:[[Image:Maintenance cost table.jpg]]
  
2. Select the first 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
  
3. Enter 1200. Press arrow down to select the next cell.
+
'''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:Selecting an array edit table maintenance.jpg]]
+
:[[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.
  
4. Enter 2400.
+
'''Expected: Result table of <code>Maintenance cost</code> would be indexed by <code>Car type</code>. with cell values 1200 and 2400'''
  
5. Click on the check button to accept the values.
+
:[[Image:Result_Maintenance_cost.jpg]]
  
6. Click result button to bring up result table. {Your test would have the same result like the screenshot}
+
==See Also==
 
+
* [[Creating Arrays (Tables)]]
[[Image:Result_Maintenance_cost.jpg]]
 

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.