FreeBASIC is a free/open source BASIC compiler for Windows DOS and Linux
Published on: 2025-07-04 05:47:55
Welcome to FreeBASIC
FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.
Get FreeBASIC
When used in its "QB" language mode, FreeBASIC provides a high level of support for programs written for QuickBASIC. Many programs written for QuickBASIC will compile and run in this mode with no changes needed. However, for compilation in the FreeBASIC default language mode, most substantial programs will require changes.
Compatible
Powerful
Expressive
100% Free Software Simple Example showing procedures. function AddNumbers ( a as integer , b as integer ) as integer return a + b end function sub hello ( ) print "hello" end sub declare sub myprint ( num as integer ) 'Code outside any procedures is the main part of the program hello ( ) print AddNumbers ( 1 , 1 ) myprint 5 sub myprint ( num as integer ) print num end sub
FreeBASIC is a self-hosting compiler which makes use of the GNU binutils programming tools as backends and can produce console,
... Read full article.