Passing data between filepro tasks

Jay Ashworth jra at baylink.com
Fri Jun 17 11:04:02 PDT 2011


----- Original Message -----
> From: "Del" <del at altsystem.com>

> In the Windows environment (which I seldom work in), I am writing a
> filepro program that executes other existing pgms using the ‘system
> “dclerk etc, etc”’ command. This works great, and I can pass values
> from the “mother” task to the “daughter” tasks using the flags –rw,
> –rx, –ry. My question is, what is the best way to pass values back
> from the “daughter” to the “mother”? I can think of a couple of clumsy
> ways, don’t know of a really nifty one. Don’t really want to create a
> file to do this, but will if I have to.

You *may* be able to use SETENV and GETENV for this: in Windows, processes
all live in the same process space, unlike Unix, where the parent can't see
changes made in child processes... but you'd have to test this, as I never
have.  Your code is *guaranteed* not to be portable to Unix if you do this,
though, so keep that in mind.

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DII
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list