[Gambas-user] $, # and DIM
Charlie
karl.reinl at ...9...
Thu Jan 23 21:25:30 CET 2003
Benoît Minisini schrieb:
>Le Mercredi 22 Janvier 2003 20:42, Jochen Georges a écrit :
>
>
>>On Tuesday 21 January 2003 22:02, Benoît Minisini wrote:
>>
>>
>>>Le Mardi 21 Janvier 2003 21:13, jochen.georges at ...22... a écrit :
>>>
>>>
>>>>hello gambasians,
>>>>
>>>>three litle questions:
>>>>
>>>>111
>>>>what does a "$" mean as the first character of a variables
>>>>name?
>>>>
>>>>
>>>In Gambas, you can't put a "$" in the beginning of a variable
>>>name ! Or dou you mean the LAST character ?
>>>Or am I wrong, and it is a compiler bug then.
>>>
>>>
>>sorry, i wrote the mail not at my computer, so i confounded § and $.
>>
>>so, again:
>>what does a § in front of a variable mean?
>>PRIVATE §hExpr AS NEW Expression
>>
>>
>
>Nothing. It is just a special character discretely allowed in identifier
>names. I use it for identifying global variables. I think I will remove it in
>the future, because it is possible that this character is only directly
>accessible from a french keyboard ! Sorry for that :-)
>
§ is an international char (latin)
Charlie
>
>
>
>>what does a # in front of a variable mean?
>>OPEN FileName FOR READ AS #FileName
>>
>>
>
>It just a syntactic decoration coming from the syntax of the BASIC. Try to
>remove it, maybe it is optional. If not, I could easily modify the compiler
>so that it becomes optional.
>
>
>
>>thanks for any hint.
>>
>>best egruesse
>>jochen
>>
>>
>>
>>
>
>Regards,
>
>
>
More information about the User
mailing list