And Call The Procedure
Calling the procedure to draw a 200 x 200 box (that’s what drawBox is defined to do) positioned so its upper left hand corner is at (1000,1000) in Form1, and so that its color is blue
Now, draw it 10 times, moving right ...
Private Procedure Form_Click()
Call drawBox(1000, 1000, 9) ‘ Box is blue
Private Procedure Form_Click()
FillStyle = 0 For indx = 1 to 10
Call drawBox(1000+(300*I), 1000, 9) ‘ Box is blue