Question about libs/new commands

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Amiga5k.

I was wondering something about how PB implements it's command set:
- Are they all part of the included libraries, or are some of them "core" functions and the others "add-ons"?
- To put it another way, how and when are third party (or user-created)library functions/new commands added to PB: Are they tested for stability and then added to the next release of PB or are they just out there for anyone to use or not use?

There should be, I think, an official word on what is considered part of the PB commands set and what is considered add-on libraries. If I remember correctly, Blitz on the Amiga ran into the same sort of situation where there were multiple versions of certain user-created commands, etc.

- So how does the process go? Are there "official" (created by Fantaisie Software) and "unofficial" (created by users/3rd party companies) commands for PB?

Does any of this make any sense? :)

Thanks!
Russell

***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

> - Are they all part of the included libraries, or are some of them "core" functions and the
> others "add-ons"?

As far as I understand that, every function that has '( )' around it's arguments is part of
one of the Librarys.
Everything else are 'core' functions. The Compiler converts them to ASM then, whereas the Librarys are allready compiled and then just linked to the main program.

> - To put it another way, how and when are third party (or user-created)library functions/new
> commands added to PB: Are they tested for stability and then added to the next release of PB
> or are they just out there for anyone to use or not use?

No, as everybody (who knows ASM or C) can write Librarys, that isn't possible. However, some usefull librarys written by Danilo are included in the PB Package, and i think Fred has tested them.

> - So how does the process go? Are there "official" (created by Fantaisie Software)
> and "unofficial" (created by users/3rd party companies) commands for PB?

Yes there are, that's why there is a folder called 'UserLibrarys' in your PureBasic's 'Library' folder :)

So everything in there is 'unofficial' and created by some user.

There were some problems, if a new function was implemented in PB thet was alleady in some users UserLibrarys present. If this happened, the compiler didn't compile anymore.
That's why checks are being added now, to warn the User about dublicate commands.

Hope this answers your questions...

Timo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

I have now created 4 libs, but always discuss or ask fred how to name the functions to avoid misspelling with others and offer him Betas before release .I also prefer to send Fred the source from the libs (from the offical readmade version) in the future so if any troubles occurs he can fix it(perhaps :) without disassemble them first .I think that is fair enough against all users.

This is my 'worklog' on the libs:
-AppRunning- Check for existing running task (ready,online)
-SRGET- get more powerfull Info about your machines (ready, but not online)
-FASTFILE very fast Fileaccess (Beta 2 reached, not online)
-ONERROR Extended Errochecking in EXE without Debugger (ready, not online)

names can be changed before offical release.......

Its a long way to the top if you wanna .....CodeGuru
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Amiga5k.

That's good to know! I know there's a wish list area on the forum, but is there a 'work in progress' area also, so that we can see what Fred is working on for the next release? (To reduce duplicated effort by users and Fred - working on the same thing without knowing it.) A WIP area would also be a good place for users to showcase what they're working on and get feedback, etc.

Do you think at some point in the future these user-created libs will be incorporated into the 'core' system, once they've been proven/tested? We could even have a vote to see which ones we'd like to see the most included in EVERY version of PB sold!

Thanks,
Russell

***Commodore 64 - Over one million cycles per second, 16 vibrant colors, 3 incredible audio channels and 38,911 Basic Bytes Free! Who could ask for anything more?***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by vanleth.

Agree with you Russell. A WIP area could be very handy. Not sure if this forum would be suiteble for organizing content like projects, userfeedback and worklogs. Don't know how flexible Snitz Forums are. A WIP area sounds more like new forum feature as well.

Would glady publish my own stuff on it

Best regards Van
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Rings.

Hey,
come to the Chat at IRC and waste your time with us.
Mostly work,plans and stuff is discussed there and if you are the lucky winner you can get a unstable beta of a lib too :)



Its a long way to the top if you wanna .....CodeGuru
Post Reply