mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-12 04:30:42 +00:00
Switch to new when/is/otherwise with break
This commit is contained in:
parent
e14757982f
commit
d6faa42e32
@ -994,8 +994,10 @@ while 1
|
|||||||
quit
|
quit
|
||||||
is 'M'
|
is 'M'
|
||||||
syscall($02)
|
syscall($02)
|
||||||
|
break
|
||||||
is '+'
|
is '+'
|
||||||
execmod(cmdptr)
|
execmod(cmdptr)
|
||||||
|
break
|
||||||
otherwise
|
otherwise
|
||||||
prstr(@huhstr)
|
prstr(@huhstr)
|
||||||
wend
|
wend
|
||||||
|
@ -1278,16 +1278,22 @@ while 1
|
|||||||
when toupper(parsecmd(cmdptr))
|
when toupper(parsecmd(cmdptr))
|
||||||
is 'Q'
|
is 'Q'
|
||||||
reboot()
|
reboot()
|
||||||
|
break
|
||||||
is 'C'
|
is 'C'
|
||||||
catalog(cmdptr)
|
catalog(cmdptr)
|
||||||
|
break
|
||||||
is 'P'
|
is 'P'
|
||||||
setpfx(cmdptr)
|
setpfx(cmdptr)
|
||||||
|
break
|
||||||
is 'V'
|
is 'V'
|
||||||
volumes();
|
volumes()
|
||||||
|
break
|
||||||
is '-'
|
is '-'
|
||||||
execsys(cmdptr)
|
execsys(cmdptr)
|
||||||
|
break
|
||||||
is '+'
|
is '+'
|
||||||
execmod(cmdptr)
|
execmod(cmdptr)
|
||||||
|
break
|
||||||
otherwise
|
otherwise
|
||||||
prstr(@huhstr)
|
prstr(@huhstr)
|
||||||
wend
|
wend
|
||||||
|
@ -1276,13 +1276,17 @@ while 1
|
|||||||
quit
|
quit
|
||||||
is 'C'
|
is 'C'
|
||||||
catalog(cmdptr)
|
catalog(cmdptr)
|
||||||
|
break
|
||||||
is 'P'
|
is 'P'
|
||||||
setpfx(cmdptr)
|
setpfx(cmdptr)
|
||||||
|
break
|
||||||
is 'V'
|
is 'V'
|
||||||
volumes
|
volumes
|
||||||
|
break
|
||||||
is '+'
|
is '+'
|
||||||
execmod(cmdptr)
|
execmod(cmdptr)
|
||||||
write(refcons, @textmode, 3)
|
write(refcons, @textmode, 3)
|
||||||
|
break
|
||||||
otherwise
|
otherwise
|
||||||
prstr(@huhstr)
|
prstr(@huhstr)
|
||||||
wend
|
wend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user