Visual 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...

Visual Basic .NET

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