Data update
This commit is contained in:
parent
72eb4943cb
commit
4d5544505c
2347 changed files with 62432 additions and 16731 deletions
4
Task/Loops-For/M2000-Interpreter/loops-for-1.m2000
Normal file
4
Task/Loops-For/M2000-Interpreter/loops-for-1.m2000
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
MODULE check {
|
||||
FOR I=1 TO 5:FOR I=I to 1:?"*";:NEXT:?:NEXT
|
||||
}
|
||||
check
|
||||
17
Task/Loops-For/M2000-Interpreter/loops-for-2.m2000
Normal file
17
Task/Loops-For/M2000-Interpreter/loops-for-2.m2000
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module check {
|
||||
For i=1 to 5
|
||||
For j=1 to i
|
||||
Print "*";
|
||||
Next j
|
||||
Print
|
||||
Next i
|
||||
Print "End1"
|
||||
For i=1 to 5 {
|
||||
For j=1 to i {
|
||||
Print "*";
|
||||
}
|
||||
Print
|
||||
}
|
||||
Print "End2"
|
||||
}
|
||||
check
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
For i=1 to 5
|
||||
For j=1 to i
|
||||
Print "*";
|
||||
Next j
|
||||
Print
|
||||
Next i
|
||||
Print "End1"
|
||||
For i=1 to 5 {
|
||||
For j=1 to i {
|
||||
Print "*";
|
||||
}
|
||||
Print
|
||||
}
|
||||
Print "End2"
|
||||
Loading…
Add table
Add a link
Reference in a new issue