Hi - I copied my programs for PB4.2 to Pb4.3 since I wanted to get them working in both formats. But after putting their location in PB4.3 my "Source Directory" in PB4.2 was changed to the same location. I changed it back in PB4.2 and that changed the "Source Directory" in PB4.3. It seem they both want to use the same source directory. What am I doing wrong?
My programs are in Examples\Sources\Bills within the PB 4.2 and PB4.3 folders. I even tried renaming my program folders to Bills42 and Bills43 but that didn't help. I would like to make the PB4.3 changes (Read, PtInRect_,etc) to my 4.3 programs but not change my 4.2 programs.
Appreciate any help.
Bill Nee
Source Directory for PB4.2 and PB4.3
- Arctic Fox
- Enthusiast
- Posts: 609
- Joined: Sun Dec 21, 2008 5:02 pm
- Location: Aarhus, Denmark
From the PureBasic 4.30 Help File for Windows (Using several PureBasic versions on Windows):
Though I haven't tried it, you can try using those switches.Note: Since PureBasic 4.10, the settings for the IDE are no longer saved in the PureBasic directory but rather in the %APPDATA%\PureBasic directory. To keep the multiple versions from using the same configuration files, the /P /T and /A switches can be used. Furthermore there is the /PORTABLE switch which puts all files back into the PureBasic directory and disabled the creation of the .pb extension.
Re: Source Directory for PB4.2 and PB4.3
I use /LOCAL
"puts all preferences in the PureBasic directory instead of the user profile location"
"puts all preferences in the PureBasic directory instead of the user profile location"
Hi - I see where those switches are in the help file. But I have no idea how to use them. Do they go somewhere in the preferences or do I have to start Pure Basic from Dos? This looks exactly like what I am looking for. Appreciate any step by step instructions.
Thanks for the quick information.
Bill Nee
Thanks for the quick information.
Bill Nee
You can put them in the shortcut you use to launch PB.BillNee wrote:Hi - I see where those switches are in the help file. But I have no idea how to use them. Do they go somewhere in the preferences or do I have to start Pure Basic from Dos?
For example, in my case i have:
"D:\Programmi\PureBasic\PB4\PureBasic.exe /LOCAL"
Every time you click the shortcut, PB is launched with the above option.