Subject Re: DDE help
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Thu, 27 Feb 2020 15:33:37 +0530
Newsgroups dbase.getting-started


> You are still not passing values to a running program.  You write a new
> ..BAT file every 30 minutes (keeping the same name as before) and then
> run it once.  This places data in a separate holding file.


Yes I am not passing parameters to a running program.


>> So it all depends what type of data needs to be processed and format.
>> Naturally Arrays cannot be passed as parameters (I presume).
>
> Arrays can certainly be passed as parameters.  It is actually the way
> for a function to return more than one value.  The receiving program (or
> function) must just know how to deal with the array.  As an example,
> preview.wfm in the dUFLP has provision for receiving an AssocArray as a
> parameter.
>
> All the elements of an array need not be of the same type.  An array can
> hold numeric values, character strings, objects and other arrays all at
> the same time as long as the receiving program or function knows what to
> do with the contents of each element.

Even Across different types of programmes? Within dBase it can be done,
I have passed objects as parameters. But from dBase to Commence or
reverse also I never had a need and hence cannot say.

Regards
Akshat