Ok, That is the code for the preview button of the hole circle wizard. It is the correct code.
I have run this wizard several times, with your numbers, and it has never given me an error.
Line 33 is checking the Q value, which will be the peck depth to be sure it is not zero. You said you entered -.250, which should pass the test. The number is taken form a DRO, which can only be a numeric value, and its comparing to a numeric constant, so I dont see how any type mismatch can occur.
I see no error and cannot understand why you see one.
Does the Post Code button work OK? Thats what matters, not the preview.
Im also confused that you can see this code. The wizards are protected by a password, if you select 'edit button script' from the menu you ought to be required to enter a password. How are you getting to this code? What mach version are you using?
Its not related to this problem, but I think you may be making an error on the tool selection screen. Before you press Continue you should press the button to calculate the chip load and the feed. Unless you press that button you will be using whatever value was last saved, not the one you are just entering. You also said Feed% was zero- that is not allowed, and if you had pressed the calculate feed button you should have seen an error message for that.
Sorry I cannot repeat this error, I have no way to tell whats happening to your system.
ron ginger