[Gambas-user] variable declaration

Benoit Minisini gambas at ...1...
Thu Apr 22 15:09:19 CEST 2004


On Thursday 22 April 2004 07:55, Frank Berg wrote:
> Hi,
>
> what is the difference between
>
> private sPath as string
>
> or
>
> private $sPath as string
>
> tnx.. frank

None. I wanted to have a character in the language that allows me to see in 
one sight if a variable is local or private and global. So I put a '$' 
character before every private global identifier.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list