Additional file extension for the source code of PureLibraries?
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Additional file extension for the source code of PureLibraries?
Now that we can create PureLibraries with PB 6.20, would introducing an additional file extension for the source code of PureLibraries make sense?
Re: Additional file extension for the source code of PureLibraries?
Personally I don't think so, they are just standard PureBasic code afterall. 

Re: Additional file extension for the source code of PureLibraries?
Standard code does not use ProcedureDLL. Also this code is not intended to create dll files.
pbl?
pbl?
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Additional file extension for the source code of PureLibraries?
Well, the source code of UserLibs is hardly suited for being included into other source code with „XIncludeFile“ (although it's technically possible, of course). And no UserLibs can be created from the PBI files that we use as include files. In my opinion, different file extensions would simplify the use of the respective files in both cases.Quin wrote: Sat Dec 21, 2024 12:06 am Personally I don't think so, they are just standard PureBasic code afterall.![]()
Re: Additional file extension for the source code of PureLibraries?
I'd also go with pbl.AZJIO wrote: Sat Dec 21, 2024 10:41 am Standard code does not use ProcedureDLL. Also this code is not intended to create dll files.
pbl?
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Additional file extension for the source code of PureLibraries?
That was my first idea, too. However, the lowercase l can easily be confused with i or I.
So personally I'm currently using the extension pbu for the source code of userlibs.