Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing param list to function but have it arrive as arr
Message
From
19/06/2002 09:24:31
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
19/06/2002 09:17:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00670055
Message ID:
00670098
Views:
13
Hi Mark
>Thanks Agnes
>
>I was hoping to avoid creating the array ouside of the function if possible.
>This is because I like my functions to be fully encapsulated so I dont have to go and look at them and because it becomes more awkward when having to use them on an entire record set.

Record Set? Means a whole record? It can be stores in an object usen scatter name. So you can pass just the object.

>
>I guess I will end up passing the list as a single string and parsing it into an array in the function. That give me the encapsulation I want but next time I use it I will probably send the wrong type of parameter..sigh

But then you have to find out the types of the single item. This is just an other dead.

>Your use of ALINES is much nicer they must have changed the command between ver 6 and 7
Yeap, they do. (BTW this is out of Ut the last week or so)
>
>
>Thanks for the tip:)

Ypu are welcome

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform