Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Switch to using parameter objects instead of parameters. This will give you multiple advantages. 1) being able to pass far more parameters at once 2) the called code can update all of the parameter object's properties 3) the called code can create new properties to pass back 4) the property names make the code easier to read than using positional numbers as would be required with an array or mlines.
>To All:
>IS there a way in VFP to return multiple values from a User Defined Function? I don't want to use an Array, then I have to pass by reference and I am trying to avoid that. I have thought about casting and concatenating the values to a single string then returning that and parsing it when needed but I know there has to be a 'cleaner' way to accomplish this.
>
>Thanks!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only