[Gambas-user] Re: array does not work

Benoît Minisini gambas at ...1...
Fri Feb 14 11:19:25 CET 2003


Le Jeudi 13 Février 2003 22:24, vous avez écrit :
> hi benoit
>
> when i try to run the example program Ganim, which uses arrrays i
> get the error:
> =cannot load class "array". unable to load class file=
>
> i tried to write a program myself, which uses arrays, but i got the
> same error.
>
> is it a bug?
>
> beste gruesse
> jochen

The class array does not exist anymore. Specialized array classes have 
replaced it.

You should read the ChangeLog file at each new version !

Instead of writing:

DIM a AS NEW Array

You must write:

DIM a AS NEW String[] ' If you want to put strings in your array.

Regards,

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




More information about the User mailing list