Microsoft Small Basic

Program Listing: ZWL954
GraphicsWindow.Width = 800
GraphicsWindow.Height = 600

For x = 0 to GraphicsWindow.Width Step 5
GraphicsWindow.PenColor = "Blue"
GraphicsWindow.DrawLine(0, 0, x, GraphicsWindow.Height)
EndFor
For y = 0 To GraphicsWindow.Width step 5
GraphicsWindow.PenColor = "Blue"
GraphicsWindow.DrawLine(0, 0, GraphicsWindow.Width, y)
EndFor