[Gambas-user] Gambas Version

Benoit Minisini gambas at ...1...
Sun Oct 29 18:13:09 CET 2006


On Sunday 29 October 2006 12:28, rolf wrote:
> Hi Benoit
>
> > > I would like to ask, if there is a posibility to get the gambas version
> > > number for referencing. I would like to show the version in an about
> > > dialog.
> > >
> > > Could it be something like "gb.version"?
> >
> > Something like that?
> >
> > SHELL "gbx2 -V" TO sVersion
>
> This is the version of the gambas runtime and is a dynamic value which
> changes (perhaps) after each update. But I would like to write a message
> like:
>
> "This program was developed with GAMBAS Version xxx"
>
> So the version number might be bind to the IDE (resp. the main gambas
> components) and not to the interpreter, because a program might run with a
> newer interpreter as well.
>
> Thanks
> Rolf
>

Then use 'System.Version'.

Regards,

-- 
Benoit Minisini





More information about the User mailing list