[Gambas-user] Dynamic processes and killing them

Rob sourceforge-raindog2 at ...94...
Sat Jul 19 19:26:49 CEST 2003


On Saturday 19 July 2003 10:43, Brian Snipes wrote:
> I take it the declaration of the array would be :
>     PRIVATE myProcess AS String[]

No, more like

PRIVATE myProcess AS Process[]

I can't remember if you can directly declare an array of Process that way, so 
if not,

PRIVATE myProcess AS Object[]

>      EXEC ["ping", txtInsert.text] FOR READ WRITE AS myProcess().add

dim tmpProcess as Process
EXEC ["ping", txtInsert.text] FOR READ WRITE AS tmpProcess
myProcess.add(tmpProcess)

would be my guess, but I haven't actually tried it.

Rob






More information about the User mailing list