FreeBASIC

FreeBASIC - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - FreeBASIC

FreeBASIC
 i = x * 5
 do while i>0
   if i=10 then
     exit do
   else
     i=i-1
   end if
loop

Other pieces of example codes:
FreeBASIC
if i=16 then
    continue while
 end if
do
 i=i-1
 loop until ( i = 0)
do until i = 0
   if i=10 then
     exit do
   else
     i=i-1
   end if
loop
if i=10 then
     exit do
   else
     i=i-1
   end if
do
 i=i-1
 loop while i > 0
do while y <= 32   
   y=y+1
loop
Languages: en hu cz sk