Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
decl int width height
|
||||
out "width: " console
|
||||
set width (in int console)
|
||||
out "height: " console
|
||||
set height (in int console)
|
||||
|
||||
decl int<><> twodstream
|
||||
for (decl int i) (< i height) (inc i)
|
||||
append (new int<>) twodstream
|
||||
end for
|
||||
for (set i 0) (< i height) (inc i)
|
||||
decl int j
|
||||
for (set j 0) (< j width) (inc j)
|
||||
append 0 twodstream<i>
|
||||
end for
|
||||
end for
|
||||
|
||||
set twodstream<0><0> 5
|
||||
out twodstream<0><0> endl console
|
||||
Loading…
Add table
Add a link
Reference in a new issue