Data update
This commit is contained in:
parent
61b93a2cd1
commit
5af6d93694
858 changed files with 20572 additions and 2082 deletions
|
|
@ -0,0 +1,17 @@
|
|||
begin
|
||||
|
||||
integer first, second;
|
||||
|
||||
write("Two Dimensional Array Exercise");
|
||||
write("Length of first dimension:");
|
||||
read(first);
|
||||
write("Length of second dimension:");
|
||||
read(second);
|
||||
|
||||
begin % we need to start a new block %
|
||||
integer array test[1:first, 1:second];
|
||||
test[1,1] := 99;
|
||||
write("Stored value at 1,1 =",test[1,1]);
|
||||
end; % array is now out of scope %
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue