[Gambas-user] (Potential) addition to GB2 -> GB3 converter

Tobias Boege taboege at ...626...
Sun Jan 20 11:31:27 CET 2013


On Sun, 20 Jan 2013, Beno?t Minisini wrote:
> Le 19/01/2013 19:28, Tobias Boege a ?crit :
> > Hi,
> >
> > I can't provide a minimal GB2 project so the somewhat bigger original one is
> > attached.
> >
> > Just open it with a recent IDE and notice that all the lines like
> >
> > PUBLIC PROPERTY [READ] Name AS Datatype
> >
> > get converted to
> >
> > Public PROPERTY [Read] Name As Datatype
> >
> > which is a syntax error.
> >
> > This may actually be a non-issue, I just noticed, because the documentation
> > doesn't allow PUBLIC|PRIVATE in conjunction with PROPERTY in either Gambas
> > version as it doesn't make sense but I'm _convinced_ that the project did
> > compile and run with the Gambas 2.23.1 it was created with but I could be
> > wrong...
> >
> > If PUBLIC PROPERTY could be compiled with GB2 it should be recognised by the
> > converter and corrected on the fly, right?
> >
> > Regards,
> > Tobi
> >
> 
> Done in revision #5512, but not really tested!
> 

No, it didn't work.

Regards,
Tobi




More information about the User mailing list