Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an array parameter
Message
De
06/05/1998 12:18:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/05/1998 12:01:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00097380
Message ID:
00097389
Vues:
24
>I need to receive an array as a parameter, but I am just not getting it. How do I go about this?
>
>TIA
Tom,
What do you mean by receive ? Receive in a function or from a function. Anyway you would need to create the array first and then pass by reference. :
dimension myArray[4]
myArray[1]=1
myArray[2]=2
myArray[3]=3
myArray[4]=4
=processmyarray(@myArray)
? myArray[3]

function processmyarray
lparameters aAnArray
aAnarray[3]="Hello"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform