1 2 3


while...: Icon , sentence

while  B  do  A  end

Carry out the instructions in A if the following condition is met B .







for...: Icon , sentence

for  R  do  A  end

Carry out the instructions in A over the range R .







if...: Icon or , sentence

if  B  then  A  end

if  B  then  A  else  A2  end

if  B  then  A  else_if  B2  then  A2  else  A3  end

Carry out the instructions in A if the following condition is met B . If the condition is not met and there is an elsestatement, then the instructions below are carried out A2 . It is also possible to have multiple conditions and various groups of instructions by inserting conditional else_if statements from the programming tab menu.





mathsformore.com powered by WIRIS

©2003 maths for more sl. All rights reserved. Legal notice