Use new when/is/otherwise with break

This commit is contained in:
David Schmenk 2014-07-07 22:18:42 -07:00
parent 73697fa060
commit 3ebf9f11dd

View File

@ -1278,16 +1278,22 @@ while 1
when toupper(parsecmd(cmdptr))
is 'Q'
reboot()
break
is 'C'
catalog(cmdptr)
break
is 'P'
setpfx(cmdptr)
break
is 'V'
volumes();
volumes()
break
is '-'
execsys(cmdptr)
break
is '+'
execmod(cmdptr)
break
otherwise
prstr(@huhstr)
wend