09-02-2009, 11:57 PM
Ok...so if I use "SetCurDir" I can get everything to save right where I want it.
So I would use this during the design phase of things and then disable it when I make the program an executable?
Is there a way to find out if QM is running the function and then have it use "SetCurDir"? That way I don't have to worry about remembering to disable things in the code at the end. Or re-working them back in if I have to work on the code.
Possibly if I could even have a folder be created in QM based on the functions name that's running it...
like:
if (QM Function is running not as an executable)
str CurrentDirectory="$my qm$"/(current function)"
SetCurDir CurrentDirectory
Thanks!
So I would use this during the design phase of things and then disable it when I make the program an executable?
Is there a way to find out if QM is running the function and then have it use "SetCurDir"? That way I don't have to worry about remembering to disable things in the code at the end. Or re-working them back in if I have to work on the code.
Possibly if I could even have a folder be created in QM based on the functions name that's running it...
like:
if (QM Function is running not as an executable)
str CurrentDirectory="$my qm$"/(current function)"
SetCurDir CurrentDirectory
Thanks!
