DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug Report for Macro Command

 
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Simon



Joined: 11 May 2005
Posts: 4

PostPosted: Wed May 11, 2005 4:45 pm    Post subject: Bug Report for Macro Command Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed May 11, 2005 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed May 11, 2005 11:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Simon



Joined: 11 May 2005
Posts: 4

PostPosted: Thu May 12, 2005 12:36 pm    Post subject: Thanks Reply with quote

It works. Thanks for the quick reply Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group