switchdefault - finish a case ... switchdefault structure
mark proc1...procn procdefault switchdefault -> -
mark
false {1 == exit} case
false {2 == exit} case
true {3 == exit} case
false {4 == exit} case
{(default) ==}
switchdefault
--> 3
mark
false {1 == exit} case
false {2 == exit} case
false {3 == exit} case
false {4 == exit} case
{(default) ==}
switchdefault
--> default
Like switch, switchdefault executes any of proc1...procn.
If an execution it meets an exit command, no further procs are executed.
If n=0, e.g. no procedure other than procdefault is found, procdefault
will be executed. Thus, procdefault will be skipped if any other proc
exists.
proc1...procn: executable procedure tokens.
procdefault : execulable procedure called if no other proc is present.
Hehl
April 16, 1999
/usr/src/packages/BUILD/sli/slicontrol.h