[Gambas-user] Dynamically changed arrays

Eilert eilert-sprachen at ...221...
Wed Mar 17 08:45:19 CET 2004


Hi Ron,

 > 	ls.add( t )

Aaaaaah :-) That's it! Thank you!

By the way:

> 
> DIM t   AS string
> DIM fptr AS INTEGER
> DIM ls AS string[]

are those variable declarations always confined to 1 item per line or 
can I add several variables by commas like

DIM t, xyz, vzk AS STRING
DIM i, j AS INTEGER

As far as I could see, there is no way to make an implicit declaration 
by def, is it? So my usual "defint a-z" won't work in Gambas, right?

 > DIM fptr AS INTEGER

shouldn't that read AS FILE in Gambas?

> OPEN FileName FOR READ AS #fptr

This got me reading the docu. Do you know what CREATE is good for? 
Usually, an APPEND for a non-existing file will create it anyway.

Thanks a lot!

Rolf





More information about the User mailing list