3.5. 내포된 (nested) 제어문
if <bool 표현식>
if <bool 표현식>
<명령문 A>
…
else
<명령문 B>
…
endif
endifvar pressure=95, limit=90, inject_on=true
if inject_on
if pressure > limit
print "경고: 압력이 높습니다."
else
print "정상 동작 중."
endif
endif
endLast updated
Was this helpful?