[Gambas-user] $, # and DIM

Benoît Minisini gambas at ...1...
Tue Jan 21 22:02:21 CET 2003


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.

> 222
> what does a "#" mean as the first character of a variables name?

Same remark than before, but replace "$" by "#".

> 333
> if i leave the DIM i see no difference, what is the use of DIM?

The DIM is not useful in gambas. I keep it not to cloud guys knowing 
Visual-Basic.

>
> sorry - basic is new to me.
> i had a look in some basic books, but i did not found a answer, that made
> me happy.
>
> thanks for any hint!
>
> beste gruesse
> jochen
>

Gambas is inspired by Basic, but does not follow exactly its rules, because 
some are not useful anymore.

-- 
Benoît Minisini
mailto:gambas at ...1...




More information about the User mailing list