Analysis

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Parser
  • Assigned To
    Torsten Bonde Christiansen
  • Operating System All
  • Severity Medium
  • Priority High
  • Reported Version 2.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Analysis
Opened by Jens Lauritsen - 09.04.2019
Last edited by Torsten Bonde Christiansen - 13.04.2019

FS#208 - simplify pgm language for the average user - aspect: naming in errors


<br />
We need to simplify messages for the average user:
Example:
<br /><br /> .select mnd = 1 do mnd := mnd[_n] + + (pos(sted[_n],"Odense") &gt; 0);
<br /> ERROR: Line 1: Syntax error at pos 37 (+)
<br /> Expected tokens: "-", "(", "@", "false", "Float", "Identifier", "Integer", "Missing", "not", "Pi", "RecNumber", "String", "true"

<br /> Omit use of "token" and "identifier" - no average users knows what this is.

<br /> I am aware that the generic termn is "identifier" - but it is too abstract for the average user.

<br /> write instead:
<br /><br /> select mnd = 1 do mnd := mnd[_n] + + (pos(sted[_n],"Odense") &gt; 0);
<br /> ERROR: Line 1: Syntax error at pos 37: +
<br /> Expected: "-", "(", "@", "false", "Float", "Integer", "Missing", "not", "Pi", "RecNumber", "String", "true"

Closed by  Torsten Bonde Christiansen
13.04.2019 10:30
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r979

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing