Hi
Following this thread :
http://www.purebasic.fr/english/viewtop ... 13&t=60074
Thanks
Create #PB_MainFilePath
- Kwai chang caine
- Always Here
- Posts: 5494
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Create #PB_MainFilePath

Not a destination
Re: Create #PB_MainFilePath
Why not using: #PB_Compiler_FilePath?
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- Kwai chang caine
- Always Here
- Posts: 5494
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Create #PB_MainFilePath
Hello Ts-Soft
Excuse me for the later answer, i have forgotten to suscribe to this thread and not see your answer
Simply because #PB_Compiler_FilePath return the path of the file where it is writing, in my case all the PBI.
But if you want the path of the main who have called the PBI, you are "chocolate" (French expression
)
Fred have modified the behaviour of PBI, but not think, sometime it can be important to return to the main file, and then knowing his path
Excuse me for the later answer, i have forgotten to suscribe to this thread and not see your answer

Simply because #PB_Compiler_FilePath return the path of the file where it is writing, in my case all the PBI.
But if you want the path of the main who have called the PBI, you are "chocolate" (French expression

Fred have modified the behaviour of PBI, but not think, sometime it can be important to return to the main file, and then knowing his path

Not a destination