Some clarification on PB componentry/elements, thanks.

Everything else that doesn't fall into one of the other PB categories.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Some clarification on PB componentry/elements, thanks.

Post by Dare2 »

This is based on a subject raised in this thread:
viewtopic.php?t=11258&start=0
regarding PB version numbers and the compiler v. the supporting componentry (or whatever).

I post here so as to not clutter that announcement with this.

From the post I think I can see some advantages in the way I manage my various PB releases on disk and was wondering if someone could help me work out which files belong to each other.

Eg:

When talking the compiler, what files are considered integral to a compiler release, depend on the compiler or vice-versa? Which are independent or semi-independent?

What other groupings of files are there. Eg, Lib file and associated res file.

What files absolutely must stay within a compiler release, and what might be usable with other releases.


I think I could organise my folder structures and write a small prog to have whichever configuration I want in the main development folder area. This would be based on the project I am playing with at the time.

But I am not 100% certain of which bits absolutely need which bits, etc, and which could perhaps be used with several compiler releases.

Messy post :? but hopefully you know what I mean and can help.
@}--`--,-- A rose by any other name ..
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

yeah, but euh... why don't you simply create a few batch files and rename your folders on the fly, if you desperately want to stay working in the same folder?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
freak
PureBasic Team
PureBasic Team
Posts: 5947
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Why do you want to mix different PB versions ? :?
quidquid Latine dictum sit altum videtur
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

lol.

Okay, I can write a wordy dissertation and justification if you like. :)

It just seems to me that there may be hidden (to me) flexibility in PB method of handling things that can be utilised. But I may have read more into the post (referred to above) than was there.

However, simple example - Let us say

PB_library_X ver 1 will work with PB_compiler ver 2
.. and ..
User_library_Z relies on PB_library_X ver 1, but breaks with library ver 2

Then a mix might overcome some situations of broken libraries, etc, with releases.

Take the #PB_Any approach. Some PB libs/commands use both the indexed and dynamic approaches. Could be that an older lib will still work with a newer compiler.

Etc.

But what do I know?

Anyhow, nm, let this die if it is too far removed from reality.
@}--`--,-- A rose by any other name ..
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

Post by localmotion34 »

be sure and include your data set if you do write a dissertation. and id like to setup a defense for the dissertation as well. heheh. just kidding. everytime i hear "dissertation" i realize my dissertation defense is about 2 1/2 yrs away for my PhD, and time is going too fast.

my opinion: any small changes to the compiler= + .01
intermediate changes= +.1
major changes= next step to whole number
changes to just the GUI of the program = +.01

Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

:)

Time gallops. You'll get through with flying colours.
@}--`--,-- A rose by any other name ..
Post Reply