[Gambas-user] Exec
Brant Wells
bwells at ...475...
Wed Jun 23 14:47:10 CEST 2004
Hi Nervix:
When you create the process, you need to do the following:
Public hProcess as Process 'This goes at the top of the Class File.
EXEC ["myprogram"] as hProcess1
EXEC["myotherprogram"] as hProcess2
Then in the Sub Process_Read()
if hProcess1=LAST then
'Here is where you put the code that deals with process1
end if
if hProcess2=LAST then
'Here is where you put the code that deals with Process2
end if
Hope this helps!
~Brant
nervix wrote:
>Hi,
>how can i read the coming from Process when i have several Process?
>
>can i do something like
>PUBLIC Sub Process_Read (myprocess1)
>
>
>PUBLIC Sub Process_Read (myprocess2)
>
>?
>
>Thx
>
>
More information about the User
mailing list