Hi
I was just debugging my ser.cfg, and wanted to know what happens on a break command. I presume that the break is there to stop you falling through, but where do you jump to
EG other code
route { blah blah blah route [2]; }
route[2] { if (a=b) {do something} else { break;} }
route [3] { }
In route two what happens a) when a=b and b) when the break is set. in a) does it jump back to the start of ser.cfg and process again, or jump back to the line after what called it, and on the "break" again does it jump back to the calling command
Iqbal
A break returns to the calling route block and continues at the next command after the call (like a function does). At the top route block (0) it terminates the processing. It is not necessary to end a route block with "break", because it returns to the caller and continues there.
regards