- attached measurement_formula_gives_error_due_to_order_of_measurements_in_list.png
- edited description
Measurement formula in tape.exe gives error due to order of measurements in list
Measurement formula in tape.exe gives error due to order of measurements in list
Example:
Created new measurement file new_susan_2.vit (attached). Entered value for neck_circ and neck_arc_b. The formula for neck_arc_f does not calculate, and yields this error: 'Calculated value: Error(cm). Parser error: Unexpected token "neck_arc_b" found at position 13
When the fx button is selected, the measurements list includes only the values which precede neck_arc_f
Comments (13)
-
reporter -
reporter - edited description
-
repo owner You get error because order in the list is important. Move neck_arc_f down.
-
repo owner - changed status to closed
By design.
-
reporter The measurement list in tape.exe should be sorted in alphabetical order. If they are sorted then we can make the formulas fit the order.
-
reporter Don't close this yet.
-
repo owner The measurement list in tape.exe should be sorted in alphabetical order. If they are sorted then we can make the formulas fit the order.
Do you want alphabetical order in the file or only in the table list?
-
reporter Good question. Would alphabetical order within the file affect the program?
-
repo owner Correct way is to make sorting on the level of a file.
-
reporter Then the organization of the xml file becomes flat, there won't be any groups.
Do you think it's important to maintain 'readability' of the xml file by keeping logical groups?
-
repo owner Then the organization of the xml file becomes flat, there won't be any groups.
We already don't have any groups inside the xml.
-
reporter Ah, yes. Forgot about all the changes. So there's no problem with alphabetic order in the file.
-
reporter Re-opened as issue
#360: Sort the tape.exe Measurements list in alphabetical order - Log in to comment