I’m using a “OEM Button  Pause Preparation Move” in a Feed Hold Sub in a macropump. There are two, Cancel and OK, buttons in the dialog box and I cant seem to find a way to read the return from the call. I read the MachMsg like this:
 Ret =MachMsg("Torch Failed to start","Torch",2) ‘2 = Abort, Retry, Ignore buttons .
Any help on how to read this would be appreciated.
                                        
OEM Button  Pause Preparation Moves                                         285 
OEM Button  Pause (remember state)                                           286
Return to paused state   285 
Remember paused state   286 
Thanks,
Tony