Does anyone see a problem with this code:
Whenever I try to delete the type B I get a 'MAV" error..
If B\MOUSE_OVER=True If MOUSE_X >= B\BX And MOUSE_X <= B\BX+B\WIDTH If MOUSE_Y >= B\BY And MOUSE_Y <= B\BY+B\HEIGHT If KeyHit(N)=True B\SNAP=True EndIf If KeyHit(DELETE_KEY)=True Delete B EndIf If B\SNAP=False Rect B\BX,B\BY,B\WIDTH,B\HEIGHT,1 Else Rect B\BGX,B\BGY,B\WIDTH,B\HEIGHT,1 EndIf EndIf EndIf EndIf
Whenever I try to delete the type B I get a 'MAV" error..