if condition { commands }
if condition { commands } else { commands }
if condition { commands } else if condition { commands }
Runs a block of commands conditionally.
The if
command returns the value of the last executed command in the block.
Simics Core
while