Help Contents / Conditional execution / ifElse

ifElse tf instructionlist1 instructionlist2

command or operation.  If the first input has the value TRUE, then IFELSE runs the second input.  If the first input has the value FALSE, then IFELSE runs the third input.  IFELSE outputs a value if the instructionlist contains an expression that outputs a value. 

Examples: 

	ifElse true [pr true][pr false]		;true 
	ifElse false [pr true][pr false]		;false 


previous: if	next: ifTrue
