Opened 14 years ago

Last modified 9 years ago

#2386 assigned enhancement

Calculate error point reporting

Reported by: greenfeld Owned by: lionaneesh
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Calculate Version: 0.84.x
Severity: Minor Keywords: easy-hack, patch
Cc: Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

I am not quite certain how to phrase this for kids, but right now Calculate has a slightly confusing way of telling user where an error is when it detects it.

In the case where a child may be using smaller numbers, it is possible to create expressions like:

5*4/

which are invalid. Attempting to evaluate these in calculate will result in error messages like "Error at 5: Parse error" for this case. But the error is not at the "5" above; the error is referring actually to the fifth character position.

Is there a kid friendly, translatable way to say "position" in this context?

This is mitigated somewhat because depending on where the error is, the error location may or may not be highlighted in red (presuming you have a color screen active). The highlight only does not seem to appear if it is believed to be after the end of the string.

Change History (4)

comment:1 Changed 14 years ago by FGrose

  • Summary changed from Calculate to Calculate error point reporting

comment:2 Changed 12 years ago by godiard

  • Keywords easy-hack added

comment:3 Changed 11 years ago by lionaneesh

  • Owner changed from rwh to lionaneesh
  • Status changed from new to assigned

comment:4 Changed 9 years ago by godiard

  • Keywords patch added
Note: See TracTickets for help on using tickets.