switch(3) - Unix First Edition Manual Page
11/3/71SWITCH (III)

NAME switch -- switch on value
SYNOPSIS (switch value in r0)jsr r5,switch; swtab


(not--found return)


swtab: val1; lab1; valn; labn..; 0


DESCRIPTION switch compares the value of r0 against each of the vali; if amatch is found, control is transferred to the corresponding


lab. (after popping the stack once). If no match has been foundby the time a null labi occurs, switch returns.


FILES kept in /etc/liba.a
SEE_ALSO
DIAGNOSTICS
BUGS
OWNER ken, dmr

%%[ LastPage ]%%