Hi,
I was a bit confused when the message was written.
Here is what I think happens:
stacksize4 and NewTask4 are needed to prepare a for new task.
The involved stack notations are:
stacksize4 ( -- dsize fsize rsize lsize )
newtask4 ( dsize rsize fsize lsize -- task )
pass ( x1 .. xn n task -- )
At pass the needed parameters are used and the
remainder of the complete word is executed in a new task
That task also executes loop so it crashes since there was no DO
in the new task.
The initial task exists at pass. Not sure if that is OK for the do...loop.
It is possible to pass an index to a secondary task by using an extra definition.
I wonder if there is a better way.
Jos