General information
Title:
Could not pass array through addobject method.
hello friends,
i want to pass complete array to my class. i am using addobject method. but it always pass first element of array instead of complete array.
i am doing this.
dimension lapara[2]
lapara[1] = 'A'
lapara[2] = 'B'
x = addobject('oClass','cClasstoCreate',@lapara)
i could only get first element of laPara Array in init of cClasstoCreate.
Same thing work in following statement. follwing work perfect
x = createobject('cClasstoCreate',@lapara)
pl. help
thanks
john still
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