View Full Version : Multi Slot Programming Help.

04-17-2007, 06:25 AM
I have a problem when running in slot 1, I need to get back to a certain point in slot 0....

Example: RdTemp in Slot 0 and I do not want to start at Main in Slot 0

Does this make sense.

Tried doing this but it won't work: Run 0 RdTemp
Thank You

Mike Green
04-17-2007, 07:30 AM
The only way to get back to a particular point in slot 0 is to set a shared variable to a particular value, then test for that value at the beginning of the program in slot 0 and GOTO that point if the value is what is needed.

There is no way to do this with the RUN statement.

In other words, you MUST start with Main in Slot 0, but the first thing that Main can do is to GOTO RdTemp if a global variable is set to a particular value which is non-zero and set by the program in Slot 1.