Post Reply 
Graphic cursor problem
01-10-2021, 09:45 PM (This post was last modified: 01-10-2021 09:46 PM by Han.)
Post: #2
RE: Graphic cursor problem
Insert a DEBUG command right before the last IF-THEN-END block. This will allow you to enter your program in debug mode and examine the contents of the variables. This is the easiest way to track down bugs in a program.

Code:
DEBUG; // <--- insert this command here
    IF cursor:=1 THEN
      dx:=mcrd(index,1); dy:=mcrd(index,2); 
      INVERT_P(G0,dx-4,dy+2,dx+11,dy+17);
    END;

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Graphic cursor problem - cahlucas - 01-09-2021, 09:20 PM
RE: Graphic cursor problem - Han - 01-10-2021 09:45 PM
RE: Graphic cursor problem - cahlucas - 01-12-2021, 05:39 AM
RE: Graphic cursor problem - Han - 01-13-2021, 02:27 AM
RE: Graphic cursor problem - C.Ret - 01-12-2021, 12:13 PM
RE: Graphic cursor problem - cahlucas - 01-13-2021, 05:52 AM



User(s) browsing this thread: 1 Guest(s)