Jobbing of class-methods has been implemented by JO1793 in 5.1-branch this April. Until you have JO1793-enabled build the only way is provided by you.

And if you need to make it work across class-hierarchy - turn off procedureblock for the selected tags inside of needed class-methods.

So to make your sample work just add [procedureblock = 0] to the end of JobTest declaration line.

Best Regards,
Timur

On 28.06.2004 17:06, Max Sebastiani said the following:
Hi,

I am trying to launch a process (defined inside a method), and I'm getting
troubles.
It seems that I can easily JOB a routine, but if it's a method things don't
work.

The documentation says that you can use a label, and always talks about
routines, but this seems not to be true if you are inside a class method,
for example this JOB call produces a <NO LINE> error :

ClassMethod JobTest()
{
     w "I'm in jobtest"
     JOB childprocess
     q
childprocess
 ;     do anything
 ;    (...)
    q
}

Is there a way to spawn a child process with code inside the current method,
(or another method, even better) ?
We need a method because the code needs to be inherited by other classes.

Thanks in advance,
Max







Reply via email to