No !! I am not having much sucess. I appear to have written it as has been suggested, in fact I think I have tried just about every combination, without success.
As soon as I start stepping through it, I get syntax error - usually with one of the "Sub" words highlighted.
Do subs need to be declared, as in some PIC chip syntax
I have attached my script, if anyone would mind having a look at it. Basically it turns a handrail stanchion from a piece of 10 mm bar (or any start diameter) - the inputs are from DRO on a page of Mach3 Turn I have ammended.
The maths might be a bit out, ( I don't think so, but until I get the syntax right, I can't check it.)
Jim Pinder
Any replies could come direct to jimpinder@tiscali.co.uk