----------------------------------- GhettoSingh Mon Jun 09, 2003 9:34 pm how to draw lines ----------------------------------- i need to draw a grid with 7 columns and 5 rows can anyone tell me how to draw lines or if there is a specific command for drawing grids. ----------------------------------- AsianSensation Mon Jun 09, 2003 9:40 pm ----------------------------------- drawline(x1,y1,x2,y2,color) as for the grid, draw the line using a for loop(im assuming you know for loops) ----------------------------------- Tony Mon Jun 09, 2003 9:41 pm ----------------------------------- Draw.Line(x1,y1,x2,y2,color) to draw a grid, you just use two forloops. One for horizontal lines, one for vertical ----------------------------------- GhettoSingh Mon Jun 09, 2003 9:42 pm ----------------------------------- i'm not too sure about them loops but i will try ----------------------------------- PaddyLong Mon Jun 09, 2003 9:47 pm ----------------------------------- a basic one that grids up the entire window :) var spaceBetweenGrids : int := 10 for q : 1 .. maxx - 1 by spaceBetweenGrids for w : 1 .. maxy - 1 by spaceBetweenGrids drawline (0, w, maxx, w, 7) drawline (q, 0, q, maxy, 7) end for end for