General information
Category:
Coding, syntax & commands
Title:
Cant get the Length of a Form array
Hi.
I have the following code in the Init of a grid:
(Myarray is a Property of the Form(An Array propeerty)
DIMENSION ThisForm.MyArray(1,2)
Thisform.Myarray[1,1] = ' '
Thisform.MyArray[1,2] = ' '
WAIT WINDOW 'My array 1,1) = ' + Thisform.Myarray[1,1]
WAIT WINDOW 'Length = ' + STR(Alen(Thisform.Myarray,1))
Second last command here is fine so it is initializing the array ok.
The last command gives an error :
Variable MyArray not found.
The alen with a Thisform.MyArray seems to be causing confusion.
Is there some other syntax that's rewuired here.
regards,
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only