` Printed Icetips Article

Icetips Article



Par2: Passing large amounts of data to a STARTed procedure
2010-11-12 -- Scott Ferret
 
If you want each thread to have it's own world, then you should not be 
passing by reference.

To get a GROUP out of a STRING, just put a local variable of the same 
GROUP type, OVER the STRING parameter.  Eg

g GROUP
i  LONG
j  SHORT
   END

   START(StartThread, 5000, g)

StartThread PROCEDURE(STRING param)
g GROUP(g),OVER(param)
   END



Printed April 30, 2024, 9:59 am
This article has been viewed/printed 35124 times.