Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
>Hi Mike,
>
>Since my piece will only need the data in the vars I will probably just pass that info up. I was hoping to avoid digging into the source but it looks like that is not an option.
Just FYI then:
A UDF can only accept 27 vars. It's best to pass vars to a function rather than expect them to exist as in the case of global or private vars.
A parameter object can pass a huge number of parameters.
>
>Thanks,
>Mike
>
>>Try a parameter object. It's properties will be the passed values.
>>
>>>Thanks Hugo,
>>>
>>>I knew about the List Memory as well as the Save To. I was checking to see if there was a better way that I had overlooked. I'm thinking I will have to dig into the source programs to pass the values I need in a "clean" fashion. This function has to run efficiently in a mtdll so I don't want to be writing and reading to files or parsing a memo field just to get the values.
>>>
>>>>Michael
>>>>
>>>>LIST MEMORY LIKE chk_* to file {Somefilename}
>>>>
>>>>is one way
>>>>
>>>>>I have an unknown set of variables that will be in scope in a function and will have a common prefix. How can I identify all of the variables and get their values (actually, all I need are the values)? I played around with using “save to” function but I feel like I’m missing something obvious.
>>>>>
>>>>>The vars will all have “chk_” as the prefix: chk_DCW, chk_SIR
>>>>>
>>>>>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