Visual Basic

Programming in Visual Basic language

The most important commands from Visual Basic programming language in one place, a unique comparison and each command-operator is shown using a piece of program. Statements-operators of these sample programs are clickable, so with a simple click we have more information available.

Programming language Visual Basic:


Examples - Visual Basic

Visual Basic .NET
i=10
do
 i=i-1
 loop until ( i = 0)
do
  i=i+1
  if i=3 then
    exit do
end if
loop until (i=10)
Visual Basic .NET
x = 250 \ 8       ' x=7
y = x \ 3         ' y=2
z = (x * 2 \ y +5)' z=9

Other pieces of example codes:
Visual Basic .NET
do until i = 0
   if i=10 then
     exit do
   else
     i=i-1
   end if
loop
(x * y)
Dim x As integer= -12345
b = x <= 12
y =CSng((x * y))
if i=16 then
    continue while
 end if
Languages: en hu cz sk