hexagon logo

Forcing Operator Input

I am using an INPUT COMMENT at the beginning of my program to have the CMM operator put in his name. Knowing our operators on the off-shifts, I am willing to bet they will simply hit the OKAY button without inputting their info. I believe there is a way using an IF/THEN expression to prevent the program from continuing if there is no input but I am just getting my feet wet using expressions. I would be extremely grateful if someone could share their expertise in this.
Parents
  • Might be possible to solve by using labels and an IF/THEN/ELSE loop?

    Pseudocode:

    LABEL/COMMENT
    INPUTCOMMENT
    if INPUTCOMMENT == "" then goto COMMENT


    This certainly would have worked to solve the blank input problem, but would not have prevented parts inspected by Peter Gozinya. Wink ( I apologize for my juvenile sense of humor, it is becoming apparent that I will never grow up)
Reply
  • Might be possible to solve by using labels and an IF/THEN/ELSE loop?

    Pseudocode:

    LABEL/COMMENT
    INPUTCOMMENT
    if INPUTCOMMENT == "" then goto COMMENT


    This certainly would have worked to solve the blank input problem, but would not have prevented parts inspected by Peter Gozinya. Wink ( I apologize for my juvenile sense of humor, it is becoming apparent that I will never grow up)
Children
No Data