Help Contents / Conditional execution / cond

condresult cond clist				(library procedure) 

command or operation. clist is a list of [condition instructions] lists. result is the value which instructions output. But dont use the logo word output in instructions because that would end the cond caller. 

Example: 

	cond [[false 1] [true 2] [else 3]]		;2  ;-) 
	cond [[1==2 1234][3==3 4321][else [Hallo]]]		;4321  ;-) 


previous: case	next: throw
