View previous topic :: View next topic |
Author |
Message |
Simon
Joined: 11 May 2005 Posts: 4
|
Posted: Wed May 11, 2005 4:45 pm Post subject: Bug Report for Macro Command |
|
|
When I write a macro to open a file, close that file, and then open a 2nd file, DPlot would crash and exit when opening the 2nd file.
For example:
Code: |
FileType(1)
FileOpen("C:\Program Files\DPlot\EX01.GRF")
FileClose()
FileOpen("C:\Program Files\DPlot\EX01.GRF")
|
Code: |
Directory("C:\Program Files\DPlot")
FileType(1)
ForFilesIn("*.grf")
FileClose()
NextFile
|
Both example macros above would result in DPlot exiting without warning.
This bug is in the newer version 1.9.9.5 and 1.9.9.7 of the Registered DPlot. I did not try it with an older version of DPlot, nor on the free variant of DPlot. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Wed May 11, 2005 5:57 pm Post subject: |
|
|
Bah. Thanks for pointing out the problem. I haven't got to the bottom of this yet, but have found that if there is one or more open documents at the time you do [FileOpen(...)] that it behaves as expected.
I'll post an update as soon as this is fixed. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Wed May 11, 2005 11:14 pm Post subject: |
|
|
Simon,
I'm not sure how long this error has been in there, but it's fixed now. Thanks again for pointing it out. The quickest way to get a fix is Help>Check for Updates. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
Simon
Joined: 11 May 2005 Posts: 4
|
Posted: Thu May 12, 2005 12:36 pm Post subject: Thanks |
|
|
It works. Thanks for the quick reply |
|
Back to top |
|
|
|