[Gambas-user] Properties in Classes

Benoît Minisini gambas at ...1...
Fri Feb 20 00:28:37 CET 2009


> Hi All,
>
> As a Gambas Newbie I was wondering if there are any advantages to using
> properties as opposed to get / set methods?
>
> Thanks for any help
>
> Richard

The syntax is clearer. You usually use get / set methods in language that do 
not have properties.

As for the execution time, you should not see any difference.

Regards,

-- 
Benoît




More information about the User mailing list