I feel foolish asking this, but is there a good primer on using libraries and resources? I'd like to use Klaus's Excelwriter, but I am doing something dumb. I've done many searches, but I am either looking for the wrong thing, or it just isn't sinking in.
Should the Excel Writer user libraries be copied into the main PureBasic\PureLibraries\UserLibraries directory?
What do Residents do? Are they needed as well?
What about Resources?
If someone could smack me upside the head, I'd appreciate it!
User Libraries, Resources and Residents usage
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: User Libraries, Resources and Residents usage
Yes, the user library goes into the userlibrary directory.
The residents goes into the resident folder.
Residents make the IDE recognize the function names and constantes.
The IDE automatically corrects the Camelcase notation (i.e. MyUserLibraryCommand (notice the capital letters)) and shows the "quick help" in the status bar (i.e. what parameters the function awaits).
Not sure where the resources go, but you should keep the directory-structure or the archive file.
The residents goes into the resident folder.
Residents make the IDE recognize the function names and constantes.
The IDE automatically corrects the Camelcase notation (i.e. MyUserLibraryCommand (notice the capital letters)) and shows the "quick help" in the status bar (i.e. what parameters the function awaits).
Not sure where the resources go, but you should keep the directory-structure or the archive file.
- RichAlgeni
- Addict
- Posts: 914
- Joined: Wed Sep 22, 2010 1:50 am
- Location: Bradenton, FL
Re: User Libraries, Resources and Residents usage
Thank you Derren, that explains a lot!
Klaus has different versions available, I can see why if he used a command that had been deprecated from PB, but why is there a different version from 4.51 to 4.6?
Klaus has different versions available, I can see why if he used a command that had been deprecated from PB, but why is there a different version from 4.51 to 4.6?
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: User Libraries, Resources and Residents usage
The lib may be taking advantage of a new PB function, or it may use TailBite, which needs to be in-synch with the PB Version.why is there a different version from 4.51 to 4.6
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.