breaking older-styled syntax. In order to continue supporting programs written using the older syntax, FreeBASIC now supports the following dialects: The default dialect (-lang fb as a command-line argument) supports all new compiler features and disallows archaic syntax. The FB-lite dialect (-lang fblite) permits use of most new, non-object-oriented features in addition to older-style programming. Implicit variables, suffixes, GOSUB / RETURN, numeric labels and other features are allowed in this dialect. The QB dialect (-lang qb) attempts to replicate QuickBASIC behavior and is able to compile many QuickBASIC programs without modification. Example code Standard programs, such as the "Hello, World!" program are done just as they were in QuickBASIC. Print "Hello, World!" sleep:end 'Comment, prevents the program window from closing instantly FreeBASIC adds to this with support for object-oriented features such as methods, constructors, dynamic memory allocation, properties and temporary allocation. Type Vector Private: x As Integer y As Integer Public: Declare Constructor (nX As Integer = 0, nY As Integer = 0) Declare Property getX As Integer Declare Property getY As Integer End Type Constructor Vector (nX As Integer, nY As Integer) x = nX y = nY End Constructor Property Vector.getX As Integer Return x End Property Property Vector.getY As Integer Return y End Property Dim As Vector Ptr player = New Vector() *player = Type<Vector>(100, 100) Print player->getX Print player->getY Delete player Sleep 'Prevents the program window from closing instantly In both cases, the language is well suited for learning purposes. References External links IDEs WinFBE - Modern FreeBASIC Editor for Windows VisualFBEditor - Cross-platform graphical IDE fbide.freebasic.net — FBIDE Integrated Development Environment for freeBASIC FBEdit (current) — FBEdit source code editor for FreeBASIC, version 1.0.7.6c BASIC compilers Free compilers and interpreters Object-oriented programming languages Free computer libraries Self-hosting software Articles with example BASIC code Free software programmed in BASIC DOS software Programming tools for Windows Linux programming tools Programming languages created in 2004 Software using the GPL license Programming languages High-level programming languages 2004 software BASIC programming language family