GLBasic forum

Main forum => GLBasic - en => Topic started by: Hatonastick on 2011-Nov-06

Title: INIOPEN and SETCURRENTDIR$.
Post by: Hatonastick on 2011-Nov-06
Just curious, is there any reason why INIOPEN seems to ignore whatever directory I've chosen using SETCURRENTDIR$?  Main reason why I wish INIOPEN didn't ignore SETCURRENTDIR$ is I'm using the INI system as a sort of limited ASCII database system and it's annoying to have to include the directory as part of the path. :)
Title: Re: INIOPEN and SETCURRENTDIR$.
Post by: MrTAToad on 2011-Nov-06
That must be a bug - it should work in the current directory.

I do know it doesn't (or used not to) work if you gave it a path...
Title: Re: INIOPEN and SETCURRENTDIR$.
Post by: Hatonastick on 2011-Nov-06
Yeah, I did wonder if it was a bug.

Glad to say that it seems to work (at least under Windows it does :)) with paths.  SETCURRENTDIR$ would be better though.  =D
Title: Re: INIOPEN and SETCURRENTDIR$.
Post by: MrTAToad on 2011-Nov-07
Yes, Windows is the exception, if I remember correctly...
Title: Re: INIOPEN and SETCURRENTDIR$.
Post by: Kitty Hello on 2011-Nov-09
Filed a bug, sorry.
Title: Re: INIOPEN and SETCURRENTDIR$.
Post by: Hatonastick on 2011-Nov-10
Thanks, and not a problem. :)