IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Rock Ridge Farm (Larry) on January 12, 2006, 07:43:28 AM

Title: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 07:43:28 AM
I have noticed that as I work in the editor and do many changes and rebuilds the program will start doing unwanted things like not reflecting the latest changes or not
reading from files. If I exit Aurora and re-start all is well.
Is this a problem or just me as usual?
Title: Re: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 07:47:48 AM
I also noticed the line numbers in the editor get confused.
A group of line numbers will be missing. The return on restart of Aurora.
Title: Re: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 08:02:47 AM
One more thing - I just discovered that if I do not close the source file and restart Aurora
the problem remains. If I close the source file and close Aurora then restart and re-load it works OK. I suspect it is a file handle issue since I am starting and stopping the program
possibly without proper close of open files.
Title: Re: A possible problem
Post by: Parker on January 12, 2006, 08:22:08 AM
Have you used code folding? If you see + signs in the margins, that means you've folded some code, and it will not be visible, and its line numbers will disappear. Just click the + again to see it. I've never had any problems with the IDE like this, so I can't imagine what's wrong.
Title: Re: A possible problem
Post by: Bruce Peaslee on January 12, 2006, 08:50:25 AM
I have not experience these problems.

"The only dumb question is the one to which I don't have the answer."ÂÃ,  ÂÃ, ;)
Title: Re: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 08:55:15 AM
No '+' but I did see a couple of '-'. I wondered what they were.
I still think it has to do with not properly closing files. It only happens in programs where
I am reading input from files. The code does have the close at the end of the read loop.
Title: Re: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 09:21:13 AM
OK - saw the '+' this time when the line numbers were wrong. That solves that part
of the problem - thanks for the heads up.
Title: Re: A possible problem
Post by: Rock Ridge Farm (Larry) on January 12, 2006, 05:21:38 PM
OK - BIG DUH!
I realized how I was causing this to happen.
I was opening a second program for use as an example. The second program was in
another directory. I guess the editor assumes the last directory as the current directory.
So when I went back to the original program the file I was reading was no longer in the
current directory.
So my possible problem was my own stupid mistake.
Title: Re: A possible problem
Post by: Ionic Wind Support Team on January 12, 2006, 09:29:09 PM
always specify complete or derived paths when working with files ;)

"c:\\files\file.xxx"

"..\\..\\file.xxx"

etc.