[Gambas-user] Strange error with arrays
Eilert
eilert-sprachen at ...221...
Mon Feb 21 17:53:43 CET 2005
Just run into a problem :-)
In a module, there are several arrays of different datatypes: integer,
string, float:
PRIVATE myarr[20] AS INTEGER
PRIVATE myarg[20] AS BOOLEAN
PRIVATE myarx[20, 20] AS STRING
and so on, then
PUBLIC SUB aProcedure(something as integer)
blablabla
... myarr[x] ...
... IF myarg[y] THEN ...
... myarx[x, y] = "hello"
END
Now, when the program comes to this procedure, it stops with a message
"Program delivered 1" and a message in the direct window saying "Don't
know how to copy arrays. Sorry :-( "
So, what's wrong here?
Rolf
More information about the User
mailing list