Conditional structures: Difference between revisions

m
(added MiniScript example)
Line 5,124:
 
=={{header|Retro}}==
===ifchoose, ifTrueif, and ifFalse-if===
<lang Retro>( condition ) [ ( true statements ) ] ifTrueif
( condition ) [ ( false statements ) ] ifFalse-if
( condition ) [ ( true statements ) ] [ ( false statements ) ] ifchoose</lang>
 
These forms can be used interactively, or inside function definitions.
Anonymous user