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
  • C1         =COMMENT/YESNO,***************************************************
                             ,         Do You Need To Manualy Align Part?
                             ,        This Only Needs To Be Done For First
                             ,                   Of A New Set Up!
                             ,***************************************************
                             ,
                IF/C1.INPUT == "YES"
    
    manalign stuff
    END_IF/
    

    for a manual alignment I just use the end_if
Reply
  • C1         =COMMENT/YESNO,***************************************************
                             ,         Do You Need To Manualy Align Part?
                             ,        This Only Needs To Be Done For First
                             ,                   Of A New Set Up!
                             ,***************************************************
                             ,
                IF/C1.INPUT == "YES"
    
    manalign stuff
    END_IF/
    

    for a manual alignment I just use the end_if
Children
No Data