Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to forms
Message
De
19/08/2003 10:20:29
 
 
À
19/08/2003 10:13:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00821385
Message ID:
00821404
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform