Basic - statements

statements are one step in the program.

statements


loop with condition at the end condition testing is done at the end of the loop. consequently, the loop is performed at least once. after eac...
loop with condition on the beginning condition testing is done at the beginning of the loop. before each iteration the condition is tested, if it i...
conditional statement by conditions we can control our program. thanks conditional statement we can control program running in two d...
automatic variable declaration variable declaration is used for its creation.
loop with condition at the end until is false condition testing is done at the end of the loop. after each iteration the condition is tested, if it is was t...
loop with condition on the beginning until is false condition testing is done at the beginning of the loop. before each iteration the condition is tested, if it i...
compatible programing languages:
Visual Basic .NET | FreeBASIC

Basic

Other pieces of example codes:
do while i<20
 i= i+2
 if i=16 then
    continue while
 end if
 x=x+1 
loop
do until i = 0
   if i=10 then
     exit do
   else
     i=i-1
   end if
loop
if  x >= 12 then
   do while y >= 0   
      y=y-1
loop
end if
do
 i=i-1
 loop until ( i = 0)
do
 i=i-1
 loop while i > 0
Dim x As single= 3.14159265359
Languages: en hu cz sk