Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Loops-Break/MUMPS/loops-break.mumps
Normal file
15
Task/Loops-Break/MUMPS/loops-break.mumps
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
BREAKLOOP
|
||||
NEW A,B
|
||||
SET A=""
|
||||
FOR Q:A=10 DO
|
||||
.SET A=$RANDOM(20)
|
||||
.WRITE !,A
|
||||
.Q:A=10
|
||||
.SET B=$RANDOM(20)
|
||||
.WRITE ?6,B
|
||||
KILL A,B
|
||||
QUIT
|
||||
;A denser version that doesn't require two tests
|
||||
NEW A,B
|
||||
FOR SET A=$RANDOM(20) WRITE !,A QUIT:A=10 SET B=$RANDOM(20) WRITE ?6,B
|
||||
KILL A,B QUIT
|
||||
Loading…
Add table
Add a link
Reference in a new issue