[Gambas-user] Gambas Version

rolf rolf.frogs at ...221...
Sun Oct 29 19:12:21 CET 2006


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.

> Then use 'System.Version'.

It works fine, but only gives the major version number. But this does not 
reflect the work in progress of the development version, where a lot of 
features come with each new subversion.

Rolf




More information about the User mailing list