Fundamentals > Program > Editing a Design > IF-ELSE Statements > Other Variable Types in IF Statements
Other Variable Types in IF Statements
All variable types may be included in IF statements. Notice that string values must be enclosed in quotation marks.
For strings:
IF MATERIAL == "STEEL"
d2=10
ENDIF
For YES_NO:
IF DRAFT==YES
d25=5
ENDIF