Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1942
Message
From
04/07/2013 12:53:17
 
 
To
04/07/2013 08:41:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01577796
Message ID:
01577818
Views:
67
>Hi Peter.
>
>>Objects cannot be assigned to arrays (Error 1942)
>
>You get that error when you assign the entire array to an object. For example:
>
>dimension MyArray[1]
>MyArray[1] = createobject('Form') && works
>MyArray = createobject('Form') && error 1942
>
>Doug

Ah, clear! :)

Thanks.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform