Main Page | See live article | Alphabetical index

REALbasic programming language

REALbasic or "RB" is a commercially marketed, object-oriented dialect of the BASIC programming language by REAL Software Inc.

REALbasic is a strongly typed language with minimal automatic type conversion. The file format contains window and control placement data and is proprietary although XML export and Visual Basic import is provided. All source is contained in one file, in contrast with most other languages or dialects (C programming language, Java, Visual Basic) that contain the source code in separate files for each section.

The IDE for the current version (5.2.4) runs on Mac OS, Mac OS X and Microsoft Windows. The professional edition can compile programs for all these platforms from the same source file. It can also access databases (Oracle, PostgreSQL, MySQL etc.).

The standard edition can only compile programs for a limited set of platforms, and does not access databases.

REALbasic has a complete feature set supporting hash tables, QuickTime, serial, TCP/IP sockets, Apple Events, ActiveX, OLE, and API calls on Mac and Windows.

Here's some sample code to take the value from two editfields (called firstfield and secondfield), and add them and put them in a third field called thirdfield.

thirdfield.text = str(val(firstfield.text) + val(secondfield.text))

External link