hexagon logo

Yes No Input comments

Is it possible to use a YES/NO comment to branch around a portion of a program? I don't want to have to do any gymnastics to get this done. I have a program that runs sub assemblies and one of these subs sometimes has a bracket on it that I want to skip the measurements on IF it isn't there.

I'm thinking something like

IF C1.INPUT = "NO" then goto XXXXX

I keep getting an "invalid number entered" error.

Thanks,

Bill
Parents



  • Another tip, if you are going to be using this on several programs, keep the wording the same so that when it pops up and they don't read it because they think they know what it says, you don't get called about a crash.


    Create a dummy program with all the necessary skiping code then copy and paste into your active program. I do that with looping routines for capability studies.
Reply



  • Another tip, if you are going to be using this on several programs, keep the wording the same so that when it pops up and they don't read it because they think they know what it says, you don't get called about a crash.


    Create a dummy program with all the necessary skiping code then copy and paste into your active program. I do that with looping routines for capability studies.
Children
No Data