main module ARCONST %set debug_print_ccode=true use TEXTIO //%set use_routine_names = true declare XRANGE is 1..1 YRANGE is 1..2 Y is array [YRANGE] of 16 bit integer XY is array [XRANGE] of Y GRID : XY enddeclare procedure out_grid ( G: in ref XY ) for XIndex in XRANGE do for YIndex in YRANGE do out_integer (TTY, G [XIndex, YIndex], " ") endfor out_record (TTY) endfor endprocedure GRID := XY ( [1] : Y ( [1..1] : 1, [2..2] : 3)) // [2] : Y ( [1..2] : 2, [3..4] : 3)) tty_line ("dynamic grid assigned from inline constructor") out_grid( GRID ) endmodule