[Gambas-user] gbs script version

Bruce Steers bsteers4 at gmail.com
Tue Feb 16 18:40:20 CET 2021


>
>
> I've submitted a merge request for a simple change to gb.args to fix this
> if it's okay with you.
> It sets  $bVersionChecked to true if user has used Args.Has() to check -V
> and stops --help printing built in version message if so.
>
>
I can think of other reasons overriding gb.args version for DIY could be
useful..

Eg.
*If Args.Has("V", "version" , "Display version and state") Then*

* Print Application.Version & Iif($bAppIsBetaStage, " (Beta)", " (Stable)")*
*Endif*

Other things i thought were if Application.Version was read/write that
would fix the gbs versioning as could be set at script start
Wishing well
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210216/fc162ad3/attachment.htm>


More information about the User mailing list