Calling "break;" within a secondary routing block
ie -- route[1] { break; } --
will exit the current routing block (route[1]) dumping you back into the primary routing block
Aside from setting some flag and checking for it when the secondary routing block returns to the primary route[0], is there a way to break from the whole script (the same effect a break in route[0] would have)?
Hi,
Unfortunately, for the moment there is no such feature - just stick to flags and break :-(
Best regards, Marian
reticent wrote:
Calling "break;" within a secondary routing block
ie
route[1] { break; } --
will exit the current routing block (route[1]) dumping you back into the primary routing block
Aside from setting some flag and checking for it when the secondary routing block returns to the primary route[0], is there a way to break from the whole script (the same effect a break in route[0] would have)?