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

Tobias Boege taboege at ...626...
Sat Jan 19 19:28:51 CET 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LEDClassProjekt.tar.gz
Type: application/octet-stream
Size: 192554 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130119/254c5b2e/attachment.obj>


More information about the User mailing list