Rail3D*

   

 

Control Structures



if

if ( expression)
{
<< Code executed if expression true >>
}
[  else
{
	<< code executed if expression false >>
}	]

while

while(expression)
{
	<< code executed while expression is true >>
}

return

return expression;

Returns the value of the expression (evaluated as a float) to the caller.



import