LB Booster
Programming >> Liberty BASIC language >> "Version$" with full information like "LBB vX.XX"
http://lbb.conforums.com/index.cgi?board=lblang&action=display&num=1380990283

"Version$" with full information like "LBB vX.XX"
Post by flotulopex 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)"?
Re: "Version$" with full information like "LBB vX.
Post by Richard Russell 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.

Re: "Version$" with full information like "LBB vX.
Post by Richard Russell 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.
Re: "Version$" with full information like "LBB vX.
Post by flotulopex on Oct 6th, 2013, 09:30am

Cool wink
Re: "Version$" with full information like "LBB vX.
Post by TexasPete 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