Page 1 of 1

Pass Variables processes in CHORE

Posted: Wed Oct 12, 2011 6:40 pm
by mnasra
Hi experts,

Is there a way to pass a variable value to all the processes in one chore?
I saw one place about the execute process- But I would like to be able to create the chore without having to execute a process from another process.

THanks
Micheline

Re: Pass Variables processes in CHORE

Posted: Wed Oct 12, 2011 7:55 pm
by Michel Zijlema
mnasra wrote:Hi experts,

Is there a way to pass a variable value to all the processes in one chore?
I saw one place about the execute process- But I would like to be able to create the chore without having to execute a process from another process.

THanks
Micheline
You could use global variables for this - see f.i. this post.
Or you could setup a variables cube and have the processes in the chore read/write the variable values in this cube.

Michel

Re: Pass Variables processes in CHORE

Posted: Wed Oct 12, 2011 8:52 pm
by mnasra
Merci Michel,

Excellent idea (for your second suggestion!)

The first suggestion (coming from Steve Vincent), I had seen, but I did not know how to apply it.
I am having problems with this:


TI-2 prolog;
asciioutput ( '\\tm1data\out.txt' , NumberToString ( zste_tes_var ) );

BUt I will definitly try your second suggestion.

THANKS a lot
Micheline