Initial commit
This commit is contained in:
19
tests/testlevel3/level3tab3.vsl
Normal file
19
tests/testlevel3/level3tab3.vsl
Normal file
@@ -0,0 +1,19 @@
|
||||
FUNC VOID main() {
|
||||
INT i, t[8],x
|
||||
i := 0
|
||||
WHILE 8-i DO {
|
||||
READ x
|
||||
t[i] := x
|
||||
i:= i+1
|
||||
} DONE
|
||||
i := 0
|
||||
WHILE 8-i DO {
|
||||
PRINT "t[",i,"] = ",t[i],"\n"
|
||||
i:= i+1
|
||||
} DONE
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user