FACTOID # 45: American adults have spent more time than anyone in education .
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RELATED ARTICLES
People who viewed "FreeBASIC" also viewed:
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > FreeBASIC
FreeBASIC
Paradigm Procedural / Object Oriented
Appeared in 2004
Designed by Andre Victor
Developer The FreeBASIC Development Team
Latest release 0.18.5 Beta/ April 18, 2008 (2008-04-18); 85 days ago
Typing discipline Static
Influenced by QuickBASIC, C
OS DOS, Linux, Windows
License GNU GPL, Standard libraries licensed under the GNU LGPL
Website http://www.freebasic.net

FreeBASIC is a free/open source (GPL), 32-bit BASIC compiler for Microsoft Windows, protected-mode DOS (DOS extender), Linux, and Xbox. FreeBASIC is a self-hosting compiler, being roughly 120,000 lines of code (compiler core only, not including libraries). Image File history File links FreeBASICLogo. ... A programming paradigm is a fundamental style of computer programming. ... Procedural programming is a programming paradigm based upon the concept of the modularity and scope of program code (i. ... Object-oriented programming (OOP) is a programming paradigm that uses objects and their interactions to design applications and computer programs. ... For other uses, see Software developer (disambiguation). ... A software release refers to the creation and availability of a new version of a computer software product. ... is the 108th day of the year (109th in leap years) in the Gregorian calendar. ... 2008 (MMVIII) is the current year, a leap year that started on Tuesday of the Common Era (or Anno Domini), in accordance with the Gregorian calendar. ... In computer science, a type system defines how a programming language classifies values and expressions into types, how it can manipulate those types and how they interact. ... In computer science, a type system defines how a programming language classifies values and expressions into types, how it can manipulate those types and how they interact. ... Microsoft QuickBASIC (also QB or sometimes, QBasic, which is also a different system) is an Integrated Development Environment (or IDE) and Compiler for the BASIC programming language that was developed by Microsoft. ... In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. ... An operating system (OS) is a software that manages computer resources and provides programmers with an interface used to access those resources. ... This article is about the family of closely related operating systems for the IBM PC compatible platform. ... This article is about operating systems that use the Linux kernel. ... Windows redirects here. ... A software license is a legal agreement which may take the form of a proprietary or gratuitous license as well as a memorandum of contract between a producer and a user of computer software. ... GPL redirects here. ... The GNU Lesser General Public License (formerly the GNU Library General Public License) or LGPL is a free software license published by the Free Software Foundation. ... A website (alternatively, web site or Web site) is a collection of Web pages, images, videos or other digital assets that is hosted on one or more web servers, usually accessible via the Internet. ... Free software is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things. ... Open source refers to projects that are open to the public and which draw on other projects that are freely available to the general public. ... GPL redirects here. ... 32-bit is a term applied to processors, and computer architectures which manipulate the address and data in 32-bit chunks. ... This article is about the programming language. ... This article is about the computing term. ... Windows redirects here. ... This article is about the family of closely related operating systems for the IBM PC compatible platform. ... Tenberry Softwares DOS/4GW startup banner Developed in the 1980s to cope with the memory limitations of MS-DOS and its derivatives, DOS extenders are programs which enable software to run under the protected mode environment initially introduced with the Intel 80286 processor and later expanded upon with the... This article is about operating systems that use the Linux kernel. ... For other uses, see Xbox (Disambiguation). ... Self-hosting refers to the use of a computer program as part of the toolchain or operating system that produces new versions of that same program—for example, a compiler that can compile its own source code. ...


It makes use of the GNU binutils programming tools as backends and can produce console and graphical/GUI executables, besides dynamic and static libraries. FreeBASIC fully supports the use of C libraries and partial C++ library support. This lets programmers use and create libraries for C and many other languages. GNU (pronounced ) is a computer operating system composed entirely of free software. ... The GNU Binutils is a collection of programming tools developed by the Free Software Foundation for the manipulation of object code in various object file formats. ... In their most general meanings, the terms front end and back end refer to the initial and the end stages of a process flow. ... GUI can refer to the following: GUI is short for graphical user interface, a term used to describe a type of interface in computing. ... Illustration of an application which may use libvorbisfile. ... In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system. ... C++ (pronounced ) is a general-purpose programming language. ...


FreeBASIC is not yet an optimizing compiler, but it has been rated close in speed with mainstream tools as GCC[1] The GNU Compiler Collection (usually shortened to GCC) is a set of programming language compilers produced by the GNU Project. ...

Contents

Syntax

FreeBASIC syntax attempts to stay as close to the BASIC syntax as possible, specifically that of QuickBASIC. Although the syntax attempts to stay compatible with its predecessor, FreeBASIC follows modern standards and coding practices. Standard procedural features, along with object oriented styled features such as types as objects, operator overloading, function overloading, namespaces, etc., have been added in FreeBASIC. This article is about the programming language. ... Microsoft QuickBASIC (also QB or sometimes, QBasic, which is also a different system) is an Integrated Development Environment (or IDE) and Compiler for the BASIC programming language that was developed by Microsoft. ...


FreeBASIC's lines end when the end-of-line characters are found, or with a colon. Because of this, lines don't have to have a special character (such as the semicolon in C) to notify the compiler of the end of line. Multiple lines of code between line breaks can be done by explicitly ending a line with a colon.


FreeBASIC supports block commenting along with end of line remarks. Full line comments are made with a single quote character ', while blocks of commented code begin with /' and end with '/.


Compatibility

FreeBASIC is a successor to the QuickBASIC programming language. Changes were made during development to keep FreeBASIC compatible with modern utilities, and facilitate advanced programming features. In order to keep the compiler moving forward, GCC compliant, and to also retain the ability to use a QuickBASIC compatible language, the -lang option set was created. Microsoft QuickBASIC (also QB or sometimes, QBasic, which is also a different system) is an Integrated Development Environment (or IDE) and Compiler for the BASIC programming language that was developed by Microsoft. ... The GNU Compiler Collection (usually shortened to GCC) is a set of programming language compilers produced by the GNU Project. ...


- When choosing Language Set FB (-lang fb as a command-line argument), all of the new features that FreeBASIC offers are available, and the "hackish" features from QuickBASIC (that were incompatible with modern programming practices) are disallowed.


- Language Set FB-Lite (-lang fblite) provides access to most of the new, non-object-oriented features of FreeBASIC, but allows a coding style similar to that of older versions of BASIC. Syntax rules, such as allowing implicit variables, suffixes, gosub/return, numeric labels, etc., are permitted in this lang option. GOSUB is a command in many versions of BASIC, which should always be accompanied by the RETURN (command). ... In computer programming, subprograms (functions) will return to the higher-level programs, which called them; return ends the current task. ... In computing, a line number is a way of specifying a point in a file by enumerating each line in the file by a number. ...


- Language Set QB (-lang qb) is similar to -lang fblite, but is more focussed on specifically replicating QBASIC-like behavior. -lang qb is designed to make it easier to run programs originally written for QBASIC, and is useful in cases where -lang fblite is not compatible enough. QBasic is an IDE and interpreter for a variant of the BASIC programming language which is based on QuickBasic. ...


Hello, World!

 print "Hello, World!" sleep 

Graphics library

FreeBASIC has a built-in 2D, software graphics library to be QuickBASIC compatible, which provides the user with simple graphics primitives (such as rectangles, lines, and circles), blitting, and additional features which weren't present in QuickBASIC's graphical library. The library itself is not OS dependent, so code is portable across platforms with the library. Bit blit (bitblt, blitting etc. ...


Although the library is built-in, it is only included if one chooses to use it, which is done simply by including a call to the FBgfx Screen command. Common libraries such as OpenGL + Creating a Window with your API (Windows, Linux, Etc.) for hardware acceleration can be used without interfering with the FreeBASIC graphics library.


Future development

FreeBASIC continues to make development progress toward its goal of being a GCC front-end[2], which would allow many features found in C++ and other object-oriented programming languages, portability to nearly any modern system, and advanced optimization techniques. The GNU Compiler Collection (usually shortened to GCC) is a set of programming language compilers produced by the GNU Project. ... C++ (pronounced ) is a general-purpose programming language. ... An object-oriented programming language (also called an OO language) is one that allows or encourages, to some degree, object-oriented programming techniques such as encapsulation, inheritance, interfaces, and polymorphism. ... In computing, optimization is the process of modifying a system to make some aspect of it work more efficiently or use fewer resources. ...


With the release of version 0.17 object oriented programming (OOP) was introduced adding classes, extending the basic type. Further implementations are expected. Classes can refer to: social class scientific classification class (object-oriented programming) a subject in school see also class. ... Type has historically had the following uses: In biology, a type is the specimen or specimens upon which an original species description is based. ...


References

  1. ^ "The Computer Language Benchamarks Game FreeBASIC vs.gcc". Retrieved on 2008-04-28.
  2. ^ "FreeBASIC Todo List on Sourceforge". Retrieved on 2007-07-31.
Free software portal

2008 (MMVIII) is the current year, a leap year that started on Tuesday of the Common Era (or Anno Domini), in accordance with the Gregorian calendar. ... is the 118th day of the year (119th in leap years) in the Gregorian calendar. ... Year 2007 (MMVII) was a common year starting on Monday of the Gregorian calendar in the 21st century. ... is the 212th day of the year (213th in leap years) in the Gregorian calendar. ... Image File history File links Free_Software_Portal_Logo. ...

External links

  • Official site
  • Official forum
  • SourceForge homepage
  • FreeBASIC Documentation in Wiki Format

  Results from FactBites:
 
Freebase - Wikipedia, the free encyclopedia (922 words)
As the name implies, "freebase" is the base form of cocaine, as opposed to the salt form of cocaine hydrochloride.
Smoking freebase is preferred by many users because the cocaine is absorbed immediately into blood via the lungs, where it reaches the brain in about five seconds.
To recover the freebase in the "traditional" manner, diethyl ether is added to the solution: Since freebase is highly soluble in ether, a vigorous shaking of the mixture results in the freebase being dissolved in the ether.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.