Plot vs Box
Posted: Thu Mar 27, 2025 8:40 am
If "Box" outside of CanvasGadget, there is no error.
If "Plot" outside of CanvasGadget, it gives an error.
Did an ASM code comparison and it doesn't have a coordinate check. From this, there is an assumption that the debugger only responds to "Box".
If "Plot" outside of CanvasGadget, it gives an error.
Did an ASM code comparison and it doesn't have a coordinate check. From this, there is an assumption that the debugger only responds to "Box".
Code: Select all
If OpenWindow(0, 0, 0, 111, 111, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CanvasGadget(0, 0, 0, 111, 111)
If StartDrawing(CanvasOutput(0))
Box(112,1,1,1,$80FFFF)
; Plot(112,1,$80FFFF)
StopDrawing()
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf