FOR yy = 1 TO max_room FOR xx = 1 TO n_lines WAIT WINDOW "Next slot: " + 'Line ' + ALLTRIM(STR(xx)) + ' - ' + 'Room ' + ALLTRIM(STR(yy)) + ' : ' + ALLTRIM(STR(x_room( xx, yy ))) ENDFOR ENDFOR>The x_room array displays like the following with each line grouped together by the four columns:
>(Line,Room) > >(1,1) >(1,2) >(1,3) >(1,4) >(2,1) >. >. >. >(25,4) >>
>(Line,Room) > >(1,1) >(2,1) >(3,1) >(4,1) >(5,1) >. >. >. >(25,1) >(1,2) >(2,2) >(3,2) >(4,2) >(5,2) >. >. >. >(25,2) >. >. >. >>
>FOR yy = 1 TO max_room > FOR xx = 1 TO n_lines > WAIT WINDOW "Next slot: " + ALLTRIM(STR(x_room( xx, yy ))) > ENDFOR >ENDFOR >