Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A little array
Message
De
13/03/2002 20:02:21
 
 
À
13/03/2002 19:53:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00632501
Message ID:
00632504
Vues:
16
Would it be quicker to just do the following:
ALINES(laFinal, SUBSTR(lcString, 2), "A")
or for vfp 6
ALINES(laFinal, STRTRAN(SUBSTR(lcString, 2), "A", CHR(13)), "A")
But the reason there was a problem with your other code is you cant return a pointer to a variable ( especially if it is going out of range after a return). you would need to pass a pointer to the array in one of the parameters like this:
LOCAL ARRAY laTest[3]

CallFunc(@laTest)

FUNCTION CallFunc(laExtArray)
EXTERNAL ARRAY laExtArray
?ALEN(laExtArray)
ENDFUNC
A fish this fine deserves to be a fish nugget styled chunklet.
- Fry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform