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:
parent
e14757982f
commit
d6faa42e32
@ -994,8 +994,10 @@ while 1
|
||||
quit
|
||||
is 'M'
|
||||
syscall($02)
|
||||
break
|
||||
is '+'
|
||||
execmod(cmdptr)
|
||||
break
|
||||
otherwise
|
||||
prstr(@huhstr)
|
||||
wend
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user