[Gambas-user] Gambas 2 -> Gambas 3

Benoît Minisini gambas at ...1...
Tue Feb 17 09:54:48 CET 2009


> Good morning Benoit (and everyone)
>
> Just came about a question: When I want to bring my Gambas2 app to
> Gambas3, will this be as roundabout as it is from Gambas1 to Gambas2?
> (Creating new forms and converting the code...) Or is it more upward
> compatible?
>
> The reason for asking this is that you told me that you would just
> maintain bugfixes in Gambas2 and bring changes only to Gambas3. As I'm
> still maintaining some bigger Gambas1 projects, I would then migrate
> them to Gambas3 directly rather than having them under Gambas2 - if it's
> as much work again...
>
> Hope I could make clear what I mean...
>
> Regards
>
> Rolf
>

The weirdest thing between Gambas 2 and Gambas 3 at the moment is 
Desktop.Scale, that is smaller in Gambas 3. 

Gambas 3 does a little conversion for controls whose W and H <= 3 * 
Desktop.Scale (it adds one Desktop.Scale), but you have to update all your 
forms and check them one by one to redesign them.

There are many other changes in instruction syntax and class interfaces, but I 
never note them at the moment. Hopefully, they are less changes between Gambas 
3 and Gambas 2 than between Gambas 2 and Gambas 1.

So please try and tell us the result! :-)

-- 
Benoît




More information about the User mailing list