Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not pass array through addobject method.
Message
From
25/01/1999 09:44:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Could not pass array through addobject method.
Miscellaneous
Thread ID:
00179790
Message ID:
00179790
Views:
48
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
Map
View

Click here to load this message in the networking platform