RosettaCodeData/Task/Create-a-two-dimensional-array-at-runtime/PL-I/create-a-two-dimensional-array-at-runtime-3.pli
2023-07-01 13:44:08 -04:00

10 lines
204 B
Text

/* Second way using a BEGIN block: */
get list (m, n);
begin;
declare A(m, n) float;
get list (A);
put skip list (A);
end;
/* The array is automatically destroyed when the block terminates. */