
-----------------------------------
Goooney
Tue Jan 17, 2012 10:16 pm

Turing Help
-----------------------------------
procedure DisplayArray (var boardPos : array 0 .. 1000, 0 .. 1000 of boardRec, column, rows : int)
    for i : 1 .. column
        for j : 1 .. rows
            if boardPos (i, j).covered = 0 then
                put "X" : 5 ..

            elsif boardPos (i, j).covered = 1 then
                put boardPos (i, j).NumMines : 5 .. 

            elsif boardPos (i, j).covered = 2 then
                put "F" : 5 ..

            end if
        end for
        put ""
        put ""
    end for
end DisplayArray

When I run this procedure, the "X" and the "F" line up fine. But with boardPos it doesn't. Im assuming it has something to do with with boardPos being a number and "X" and "F" being strings. PLEASE HELP!
