1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-12-24 00:31:19 +00:00

Switch to new when/is/otherwise with break

This commit is contained in:
David Schmenk 2014-07-07 22:15:57 -07:00
parent e14757982f
commit d6faa42e32
3 changed files with 13 additions and 1 deletions

View File

@ -994,8 +994,10 @@ while 1
quit
is 'M'
syscall($02)
break
is '+'
execmod(cmdptr)
break
otherwise
prstr(@huhstr)
wend

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

View File

@ -1276,13 +1276,17 @@ while 1
quit
is 'C'
catalog(cmdptr)
break
is 'P'
setpfx(cmdptr)
break
is 'V'
volumes
break
is '+'
execmod(cmdptr)
write(refcons, @textmode, 3)
break
otherwise
prstr(@huhstr)
wend