Category:FutureBasic: Difference between revisions

Content added Content deleted
(Reordered contents of page to put more important information at the top)
m (→‎FutureBasic Home Page & Download: Minor edit and addition of sample program)
Line 8: Line 8:
http://4toc.com/fb/index.htm
http://4toc.com/fb/index.htm


Here is where you can download your freeware copy of FutureBasic (simply called FB by its developers), along with detailed installation instructions (FB requires Xcode to be installed), programming examples and other information.
Here is where you can download your freeware copy of the FutureBasic IDE for Macintosh OS X 10.4 and newer, along with detailed installation instructions (FB requires installation of Xcode and QuickDraw headers); programming examples; and other information.


On 1 January 2008, Staz Software announced FB as freeware. Downloads and their executables are freeware, but source code and rights of distribution are reserved to the respective authors (the FBtoC team and Staz Software). The IDE is continuously being improved.
On 1 January 2008, Staz Software announced FB as freeware. Downloads and their executables are freeware, but source code and rights of distribution are reserved to the respective authors (the FBtoC team and Staz Software). The IDE is continuously being improved.
Line 15: Line 15:


The FB 5 IDE consists of a syntax-aware editor, and a translator (FBtoC) that converts FB code into C code. The translation is then compiled with the system compiler gcc, or in the most recent versions, clang.
The FB 5 IDE consists of a syntax-aware editor, and a translator (FBtoC) that converts FB code into C code. The translation is then compiled with the system compiler gcc, or in the most recent versions, clang.

Here is a sample program:
<pre>
include "ConsoleWindow"

local fn PrintSomething( stringToPrint as Str255 )

print stringToPrint
end fn

fn PrintSomething( "Hello, World!" )
</pre>


== FutureBasic List ==
== FutureBasic List ==