Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Scope-modifiers/MUMPS/scope-modifiers.mumps
Normal file
15
Task/Scope-modifiers/MUMPS/scope-modifiers.mumps
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
OUTER
|
||||
SET OUT=1,IN=0
|
||||
WRITE "OUT = ",OUT,!
|
||||
WRITE "IN = ",IN,!
|
||||
DO INNER
|
||||
WRITE:$DATA(OUT)=0 "OUT was destroyed",!
|
||||
QUIT
|
||||
INNER
|
||||
WRITE "OUT (inner scope) = ",OUT,!
|
||||
WRITE "IN (outer scope) = ",IN,!
|
||||
NEW IN
|
||||
SET IN=3.14
|
||||
WRITE "IN (inner scope) = ",IN,!
|
||||
KILL OUT
|
||||
QUIT
|
||||
Loading…
Add table
Add a link
Reference in a new issue