Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little array
Message
From
13/03/2002 20:02:21
 
 
To
13/03/2002 19:53:07
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00632501
Message ID:
00632504
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform