Measurement formula in tape.exe gives error due to order of measurements in list

Issue #358 closed
Susan Spencer created an issue

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)

  1. Susan Spencer 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.

  2. Roman Telezhynskyi 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?

  3. Susan Spencer 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?

  4. Roman Telezhynskyi 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.

  5. Susan Spencer reporter

    Ah, yes. Forgot about all the changes. So there's no problem with alphabetic order in the file.

  6. Log in to comment