PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Rolf Brandt on November 06, 2009, 09:16:04 AM

Title: FireFly3 Extensions
Post by: Rolf Brandt on November 06, 2009, 09:16:04 AM
Paul,

I was just wondering if it might be a good idea to add a Forum section for FireFly3 Extensions. Like this everybody could share some functionality with the other users.

Rolf
Title: Re: FireFly3 Extensions
Post by: Paul Squires on November 06, 2009, 11:51:20 AM
Hi Rolf,

By "Extensions" what do you mean? Additional Function Library code? User Tools?

Title: Re: FireFly3 Extensions
Post by: Rolf Brandt on November 06, 2009, 11:58:20 AM
Exactly - like the the one I started in Topic  http://www.planetsquires.com/protect/forum/index.php?topic=1975.0 (http://www.planetsquires.com/protect/forum/index.php?topic=1975.0)

If there would be a common place in the forum for it this it might give the functionality of FF3 a real boost. Everybody could import the functions he wants.

And there probably would be good resource of ideas for new native FF_Functions.

Rolf
Title: Re: FireFly3 Extensions
Post by: Paul Squires on November 06, 2009, 01:06:01 PM
We already have a dedicated sub-forum for sharing code: http://www.planetsquires.com/protect/forum/index.php?board=18.0

Is that not a good place for what you are suggestion?

Title: Re: FireFly3 Extensions
Post by: Rolf Brandt on November 06, 2009, 01:38:58 PM
I just thought it might not be bad to have a clear distinction between code examples and extensions to the Function Library. But basically it would fit into the code sharing sub-forum too.
Title: Re: FireFly3 Extensions
Post by: John Montenigro on November 07, 2009, 04:19:50 PM
Ummm... After reading the above posts, I went to FF3 Help and read about the Functions Library. I'm as much in the dark as when I started.

Does the term "Functions Library" actually refer to the "<installation_folder>\CodeStore\PowerBASIC\" folder?

Are the .INC files in this branch the actual code for the FF3 routines? In other words, if I change them, I change the way FF3 works...!!!???!!!

If I can add files there, how do I preserve the integrity of the original FF3 installation?

Are there any limitations I should know about relating to what should or shouldn't be stored? Or perhaps, what should be stored where, and why?


Any clarifications would be appreciated...
-John
Title: Re: FireFly3 Extensions
Post by: Paul Squires on November 07, 2009, 05:19:47 PM
Quote from: John Montenigro on November 07, 2009, 04:19:50 PM
Does the term "Functions Library" actually refer to the "<installation_folder>\CodeStore\PowerBASIC\" folder?
Yes, that is where the functions are loaded from.

Quote
Are the .INC files in this branch the actual code for the FF3 routines? In other words, if I change them, I change the way FF3 works...!!!???!!!
Yes, that is the code for the actual routines. If you change any of the standard FireFly Functions then there is a chance that you could change the way FF3 works.

Quote
If I can add files there, how do I preserve the integrity of the original FF3 installation?
Just don't add your new files to the "FireFly_Functions" branch. Create a new branch, say, "Johns Functions" and put your code functions under there.

Quote
Are there any limitations I should know about relating to what should or shouldn't be stored? Or perhaps, what should be stored where, and why?
You can put your code anywhere under the "\CodeStore\PowerBASIC" branch. FF3 really doesn't care. Whatever structure that makes sense to you is what is important.


Title: Re: FireFly3 Extensions
Post by: John Montenigro on November 08, 2009, 11:09:59 AM
Thaks, Paul,

OK, gradually, I think I'm understanding... Sorry for being so dense!
-jhm