Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass form property array?
Message
 
 
À
22/07/2004 10:58:45
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00927011
Message ID:
00927016
Vues:
16
>Hi Dmitry!
>
>>I can pass an array to function using "@" as
>
>>MyFunc(@MyArray)
>
>>But if MyArray is a property of a form and I try:
>
>MyFunc(@thisform.MyArray)
>>I get error that about "thisform"
>>Other than copying the form property array to a local array and passing the copy, if there a way to do it?
>>Thank you.
>

>Try this:
>
>laMyArray = thisform.MyArray
>MyFunc(@laMyArray)
>
>I think this helps you.

Erick,
I don't think it will work. It works if I
acopy( thisform.MyArray, laMyArray )
But I was hoping to find a method without the extract copy step.

Thank you for you suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform