View previous topic :: View next topic |
Author |
Message |
jsc
Joined: 02 Dec 2005 Posts: 222
|
Posted: Sun Apr 09, 2006 10:51 pm Post subject: Distance From Command |
|
|
With 2.0.47, I was working on a plot and used the Info>Distance from command. With the input dialog box up, I tried to type the date and time into X1. As soon as I typed "2/" for the date, DPlot "disappeared", ie, crashed and blew up with no error message or complaint.
Seems to work fine with mouse input. It just didn't like the slash character when I started typing the date. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Mon Apr 10, 2006 9:59 am Post subject: |
|
|
Well that's certainly rude, isn't it? Thanks for pointing out the problem, will fix this as soon as possible. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Mon Apr 10, 2006 11:36 pm Post subject: |
|
|
Fixed. You can get the fixed version using Help>Check for Updates.
There were two separate problems here:
1) Updating the display every time a text box changed (as in typing a single key), as opposed to waiting until the text box lost focus. I can't think of a good reason for doing this and am not sure why it was written that way to start with, other than I was just having a bad day. Dates are an obvious problem, but any sort of multi-digit entry would normally result in nonsense initial answers. In the case of dates, DPlot saw your "2/", knew it wasn't a valid date, so tried to evaluate it as an equation. And that led to the second, worse problem:
2) The function parser crashed if an operator was not followed by an operand. I'm surprised this one hasn't been caught before, as it has been there from the start. In any case it is now fixed. "2/" as an equation now results in an error message.
Thanks for pointing out the problem(s). _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
jsc
Joined: 02 Dec 2005 Posts: 222
|
Posted: Tue Apr 11, 2006 7:05 am Post subject: |
|
|
Thanks!
Jon |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Tue Apr 11, 2006 2:51 pm Post subject: |
|
|
Uh-oh. The "fix" to the function parser ended up invalidating many perfectly legal equations along with those it was trying to catch, like "Y=X/". Anybody who installed 2.0.4.8 using Help>Check for Updates prior to 11 Apr, 14:50 US CDT will need to do it again. Sorry for the inconvenience. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|