LB Booster
« "Version$" with full information like "LBB vX.XX" »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:26am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: "Version$" with full information like "LBB vX.XX"  (Read 580 times)
flotulopex
Junior Member
ImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 94
xx "Version$" with full information like "LBB vX.XX"
« Thread started on: Oct 5th, 2013, 4:24pm »

Hello,

Would it be possible to make the reserved word Version$ indicate not only "4.04 (LBB)" but something like "4.04 (LBB 2.10)"?
« Last Edit: Oct 5th, 2013, 4:26pm by flotulopex » User IP Logged

Roger
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: "Version$" with full information like "LBB vX.
« Reply #1 on: Oct 5th, 2013, 5:33pm »

on Oct 5th, 2013, 4:24pm, flotulopex wrote:
Would it be possible to make the reserved word Version$ indicate not only "4.04 (LBB)" but something like "4.04 (LBB 2.10)"?

I can, but the problem is that I could easily forget to update it, and then the contents of Version$ would be out-of-step with the true version!

It's a good idea though, so I will give some thought to whether it would be possible to automate it, so I don't have to remember to edit it manually.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: "Version$" with full information like "LBB vX.
« Reply #2 on: Oct 5th, 2013, 10:04pm »

Right, the next release of LBB will set Version$ as requested: "4.04 (LBB 2.20)".

However there is a minor caveat: it's the version number of the compiler rather than the version number of the run-time engine. Normally these will be the same (and they must be when you run a program in the IDE or compile it to an EXE). But if you compile your program to a tokenised (.LBB) file and run it using LBBRUN.exe they are not guaranteed to be the same - although if they're not the program may well not run.

Richard.
« Last Edit: Oct 5th, 2013, 10:06pm by Richard Russell » User IP Logged

flotulopex
Junior Member
ImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 94
xx Re: "Version$" with full information like "LBB vX.
« Reply #3 on: Oct 6th, 2013, 09:30am »

Cool wink
User IP Logged

Roger
TexasPete
New Member
Image


member is offline

Avatar

Excellance is a often a long path.


PM

Gender: Male
Posts: 23
xx Re: "Version$" with full information like "LBB vX.
« Reply #4 on: Jan 9th, 2014, 1:15pm »

Richard, When I do get my programs running. I will be happy to give you a credit or acknowledgement for your work on your translator in any way you would Like.
Texas Pete
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls