cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Pro/Program: IF statement in INPUT block?

Highlighted
Contributor

Pro/Program: IF statement in INPUT block?

Can I put IF statements in the INPUT section of a program?

Use case is that I only want to prompt for input of certain variables, depending on the user's input to other variables. If the user's input makes a variable N/A (i.e. suppressed feature), I don't want the program to prompt the user for input for something that isn't driving the part.

Andrew Kelly, P.E. | Senior Engineer | Crane Aerospace & Electronics | +1 440 326 5555 | F: +1 440 284 1090

1 REPLY 1
Highlighted

RE: Pro/Program: IF statement in INPUT block?

Yes, I do it all the time.

input

option_a yes_no

if option_a==yes

param_a number

param_b number

endif

end input

Announcements