fudadmin Messages: 1321 Registered: November 2005 Location: Kaunas, Lithuania
Ultimate Contributor Administrator
forlano wrote on Tue, 02 May 2006 18:15
Luigi
PS: if nobody will answer to my old post regarding how to get the current directory of the application, I'll use a dirty... very dirty way to get it.
I didn't answer that on purpose!.. To use dirty very dirty way to make you to remember it better. Where my "spying" lessons have gone?
1. As you already should definetely know, one choice for finding global things is Ctrl_Shift_F. It's similar like searching with google. Then you can search the entire "ide" or apply some intelligence and search "targeted" packages included with CtrlLib. Which? In your case, most likely CtrlLib, CtrlCore, Core. If to apply a bit more intelligence then your search should narrow to Core.
So try your search with "GetCurrentDirectory" or even "GetCur"...
2. Would you like even more faster way? Haven't you studied all theIDE menu functions? Never questioned why "navigation" feature exists?
With Ctrl_G - for your package and Ctrl_Shift_G - for "global"?
So, press Ctrl_Shift_G and enter only "Get" and study what you see... or enter "GetCur" ... and then click on the line.
3. Ok. I could forgive you those 2 above... But to not to use Assistant?! Just enter "GetCur" in your code and press Ctrl_Space ... What you see?
And look what happens if you choose the one you need and use from Assistant menu "Go to symbol definition"... or its key combination
Learn those features and you will be able to answer all the questions on forums instead of me!