sending values between actions

Dmitry Astapov adept@umc.com.ua
17 Dec 2001 00:30:46 +0200


 NS> can anyone tell me how to send values from one action to another???

 NS> I have

 NS> main0 = do s <- getLine writeFile "text.txt" s

 NS> main1 = do ....

 NS> I'd like to use main0 info on main1 action to build a nXm multisquares
 NS> box... anyone understood this????  please help...

First of all, main0 and main0 are not actions. Then, there are no special
"info" (like, say, local variables) associated with any of them. Are you
sure you know what are you doing?

PS
I have some gut feeling that you might be much better off with Erlang
(www.erlang.org), if you want to pass events/datastructures between
processes...

-- 
Dmitry Astapov //ADEpt                               E-mail: adept@umc.com.ua
GPG KeyID/fprint: F5D7639D/CA36 E6C4 815D 434D 0498  2B08 7867 4860 F5D7 639D