Misplaced Pages

Realbasic: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 22:19, 25 April 2006 editBoycottrealbasic (talk | contribs)4 edits This article is a disgrace to wikipedia - No independent sources cited. Reviews contain false information - I want someone, anyone, to prove that RB runs multi threads at same time as 1 review claims!← Previous edit Revision as of 23:02, 25 April 2006 edit undoWarren (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers23,232 edits revert vandalism.Next edit →
Line 1: Line 1:
{{unsourced}} {{sprotect}}


{{Infobox Software | {{Infobox Software |
Line 5: Line 5:
| logo = ] | logo = ]
| screenshot = ] | screenshot = ]
| caption = The REALbasic 2005 IDE running on Mac OS X | caption = The REALbasic IDE running on Mac OS X
| developer = REAL Software, Inc. | developer = REAL Software, Inc.
| latest_release_version = 2006 R2 | latest_release_version = 2006 R2
Line 15: Line 15:
}} }}


] ] ] ], ] ]. '''REALbasic''' ('''RB''') is an ] dialect of the ] developed and commercially marketed by REAL Software, Inc in ] for ], ], and ].


== History == == History ==
REALbasic was created by Andrew Barry. It was originally called CrossBasic due to its ability to compile the same programming code for Mac OS and Windows (although the ] was Mac only). It was then redubbed REALbasic by REAL Software when they took over development in ]. The IDE is now available for all three supported platforms (with the exception, as of April 2006, of Macs based on the ]).
]


== Language features == == Language features ==
] ], ] ] ] ]{{citeneeded}} ], ] ] ] ] support, ] ] libraries on all supported platforms, ] ], ], ](both ] ]), ], ], ], ], ], ] ], ], ], ], ], ] ]. RB is a strongly-typed language with minimal automatic type conversion, which supports ] and ], ] ] and class properties, ], and ]. As described in the language reference, its built-in framework supports ], ], real-time ], sound, ] parsing and generation, full ] support, ] calls to compiled ] libraries on all supported platforms, ] datatypes compatibility, ], ], ], sockets (both ] and ]), ], ], ], ], ], ] support through ], ], ], ], ], ] and ] (REAL Software 2006).


== File Format == == File Format ==
The source file format contains window and control placement data and is proprietary, although XML import and export are supported. All source code can be contained in one project file, but it is also possible to have classes/modules in separate files in the same way as most other languages or dialects can. REALbasic compiles directly to ] for each platform that it supports.
]


== Current Editions of IDE == == Current Editions of IDE ==
]
There are two versions of the IDE:
* The professional edition can compile programs for Mac OS X, ], Linux and Windows from the same ] file; it can also access ]s (], ], ] etc.) including the built-in single-user REAL SQL Database engine based on ]; it compiles console applications, can remote debug and has numerous other features.
* The standard edition only compiles programs for the platform that the IDE is running on (either Windows, Linux or Mac), and does not allow access to databases other than the built-in REAL SQL Database.


Both versions of the IDE permit building the application's ] by dragging the controls from a palette to their parent window. Layout of the controls is helped by the IDE that permits aligning them (both horizontally and vertically), and which gives informations about the distance between controls, or between a control and the window borders.

]] ]], ], ] ]

]


== Example code == == Example code ==
This is an example of operator overloading for a hypothetical Complex class which permits to sum a ] to a ], and to sum two complex numbers:


<pre>
Function Operator_Add(rhs as Simple) As Complex
Dim ret As New Complex
ret.R = Self.R + rhs
ret.I = Self.I
Return ret
End Function


Function Operator_Add(rhs as Complex) As Complex
Dim ret As New Complex
ret.R = Self.R + rhs.R
ret.I = Self.I + rhs.I
Return ret
End Function
</pre>


The same function can be defined to accept ] ] values.
This code shows how to use the Complex class to sum a real with a complex number:


<pre>
] ]
Dim First As New Complex(0, 1)

Dim Second As New Complex(1, 1)

Dim Sum As Complex
Sum = First + 5.0 + Second
// Sum will be (6, 2)
</pre>


== References ==
* {{cite web
|url=http://www.theregister.co.uk/2005/09/13/review_realbasic_2005/
|title=RealBasic 2005 for Mac, Windows and Linux
|year=] ]
|last=Smith
|first=Tony
|accessdate=2006-04-11
|publisher=]
}}
* {{cite web
|url=http://programming.linux.com/programming/05/08/03/1639214.shtml?tid=22
|title=Review: REALBasic 2005 for Linux
|year=] ]
|last=Barr
|first=Joe
|accessdate=2006-04-11
|publisher=Linux.com
}}
* {{cite web
|url=http://www.realsoftware.com/download/
|title=REALbasic Language Reference
|year=] ]
|last=REAL Software
|accessdate=2006-04-11
|publisher=]
}}


==External links=== ==External links==
*, makers of REALbasic. *, makers of REALbasic.
* *
*, a wiki dedicated to REALBasic documentation *, a wiki dedicated to REALBasic documentation
* *
*
*, a wiki-powered developer community and code repository *, a wiki-powered developer community and code repository
*, another dialect of BASIC crated by Andrew Barry


== See also == == See also ==
*] *]
*] *]
*]
*]


] ]
]
]
] ]



Revision as of 23:02, 25 April 2006


REALbasic
REALbasic icon
REALbasic 2005 IDE
REALbasic 2005 IDE
The REALbasic IDE running on Mac OS X
Developer(s)REAL Software, Inc.
Stable release2006 R2 / April 10 2006
Operating systemMac OS X, Microsoft Windows, Linux
TypeProgramming
LicenseCommercial
WebsiteREAL Software, Inc

REALbasic (RB) is an object-oriented dialect of the BASIC programming language developed and commercially marketed by REAL Software, Inc in Austin, Texas for Mac OS X, Microsoft Windows, and Linux.

History

REALbasic was created by Andrew Barry. It was originally called CrossBasic due to its ability to compile the same programming code for Mac OS and Windows (although the integrated development environment was Mac only). It was then redubbed REALbasic by REAL Software when they took over development in 1997. The IDE is now available for all three supported platforms (with the exception, as of April 2006, of Macs based on the Apple-Intel architecture).

Language features

RB is a strongly-typed language with minimal automatic type conversion, which supports inheritance and interfaces, class methods and class properties, reference counting, and operator overloading. As described in the language reference, its built-in framework supports hash tables, cooperative threads, real-time 3D graphics, sound, XML parsing and generation, full Unicode support, application programming interface calls to compiled C libraries on all supported platforms, Visual Basic datatypes compatibility, regular expressions, QuickTime, serial communications, sockets (both TCP and UDP), SSL, HTTP, POP3, SMTP, SOAP, scripting language support through RBScript, Apple events, Address book, Windows registry, system tray icons, ActiveX and OLE (REAL Software 2006).

File Format

The source file format contains window and control placement data and is proprietary, although XML import and export are supported. All source code can be contained in one project file, but it is also possible to have classes/modules in separate files in the same way as most other languages or dialects can. REALbasic compiles directly to machine language for each platform that it supports.

Current Editions of IDE

File:REALbasic 2006.png
A typical GUI building session in REALbasic's IDE

There are two versions of the IDE:

  • The professional edition can compile programs for Mac OS X, Mac Classic, Linux and Windows from the same source code file; it can also access databases (Oracle, PostgreSQL, MySQL etc.) including the built-in single-user REAL SQL Database engine based on SQLite; it compiles console applications, can remote debug and has numerous other features.
  • The standard edition only compiles programs for the platform that the IDE is running on (either Windows, Linux or Mac), and does not allow access to databases other than the built-in REAL SQL Database.

Both versions of the IDE permit building the application's graphical user interface by dragging the controls from a palette to their parent window. Layout of the controls is helped by the IDE that permits aligning them (both horizontally and vertically), and which gives informations about the distance between controls, or between a control and the window borders.

Example code

This is an example of operator overloading for a hypothetical Complex class which permits to sum a real to a complex number, and to sum two complex numbers:

Function Operator_Add(rhs as Simple) As Complex
 Dim ret As New Complex
 ret.R = Self.R + rhs
 ret.I = Self.I
 Return ret
End Function
Function Operator_Add(rhs as Complex) As Complex
 Dim ret As New Complex
 ret.R = Self.R + rhs.R
 ret.I = Self.I + rhs.I
 Return ret
End Function

The same function can be defined to accept Double datatype values. This code shows how to use the Complex class to sum a real with a complex number:

Dim First As New Complex(0, 1)
Dim Second As New Complex(1, 1)
Dim Sum As Complex
Sum = First + 5.0 + Second
// Sum will be (6, 2)

References

External links

See also

Categories: