[Serusers] what does a break do

Iqbal iqbal at gigo.co.uk
Thu Feb 24 16:49:16 CET 2005


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




More information about the sr-users mailing list