Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing arrays to forms
Message
From
19/08/2003 10:20:29
 
 
To
19/08/2003 10:13:38
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00821385
Message ID:
00821404
Views:
26
As I understand it, if you don't pass it by reference, only the 1st element gets passed, and that's not an array.

Alan

>Privet Sergey,
>I am not sure about you are right with "@a" ... on my opinion Pablo's code must work as is.. and problem is not in parameter and WITH..
>Denis
>
>
>>You have to pass array by reference.
DO FORM c:\fuentes\six\articulos\form\ABMSIMPLE WITH @a
>>>I have,
>>>
>>>DIME a(3)
>>>a(1)="qwe"
>>>a(2)="4rwe"
>>>a(3)="qwwere"
>>>
>>>DO FORM c:\fuentes\six\articulos\form\ABMSIMPLE WITH a
>>>
>>>and in the INIT on the FORM,
>>>
>>>LPARAMETERS tcTablas
>>>
>>>then why I dont get an tcTablas as an array? I only get one value.
>>>
>>>thanks!
>>>Pablo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform