08-22-2024, 05:41 PM
Bad form? didn't know you could even do that!
Nothing beats the And band:
Nothing beats the And band:
Code: (Select All)
Screen _NewImage(500, 500, 32)
$Color:32
Do
Cls
Line (200, 200)-(300, 300), Green, BF
While _MouseInput: Wend
x = _MouseX: y = _MouseY
If x > 200 And x < 300 And y > 200 And y < 300 Then _PrintString (240, 240), "OK!"
_Limit 30
_Display
Loop Until _MouseButton(1) Or _KeyDown(27)
b = b + ...