FreeBASIC

Programming in FreeBASIC language

The most important commands from FreeBASIC 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 FreeBASIC:


Examples - FreeBASIC

FreeBASIC
a = 4 >= 2         ' a = true
if  x >= 12 then
   do while y >= 0   
      y=y-1
loop
end if
FreeBASIC
a = 5 < 10       ' a = true 
b = 8 < x 
if  y < 100 then  
   x=x+1
end if

Other pieces of example codes:
FreeBASIC
Dim x As single= 3.14159265359
do while i>0
   if i=10 then
     exit do
   else
     i=i-1
   end if
loop
&Hff >= y
Dim y As ulongint= 10250 \ 8
(&Hff mod 50 mod 10) mod 2
y = ClngInt((x * y))
Languages: en hu cz sk