[Gambas-user] An other problem with object oriented approach.
Benoit Minisini
gambas at ...1...
Sat Dec 13 23:45:31 CET 2008
On samedi 13 décembre 2008, Jussi Lahtinen wrote:
> Ok, thanks!
> Those items have unique long type id number.
> Maybe I'm wrong but to me string keys sounds slow.
> Perhaps binary mode is quicker (
> http://gambasdoc.org/help/comp/gb/collection/_new?show ).
> But I think this is the right way to go!
>
> I didn't find this from documentation, so do anyone know what $ sign
> means at declaration.
> Example:
> PRIVATE $iTotal AS Long
>
>
> Jussi
>
The '$' sign is just a character that you can use inside an indentifier. I use
it at the beginning to name a private class variable. For public class
variable, I use Pascal notation.
Regards,
--
Benoit Minisini
More information about the User
mailing list