The REALbasic IDE running on Windows Vista | |
Developer(s) | REAL Software, Inc. |
---|---|
Stable release | 2010 Release 1 / February 9, 2010; 30 day(s) ago |
Operating system | Mac OS X, Microsoft Windows, Linux |
Type | Programming |
License | Proprietary |
Website | http://www.realsoftware.com |
Jan 13, 2005. Re: Serial Port Example. Date: 13.01.05 21:04 (Thu, 13 Jan 2005 12:04:23 -0800). From: David Fylstra. This article on ResExcellence gives some code for communicating with a. Caller ID modem over a serial port: HTH, Dave On Jan 13, 2005,.
REALbasic (RB) is an object-oriented dialect of the BASIC programming language developed and commercially marketed by REAL Software, Inc of Austin, Texas for Mac OS X, Microsoft Windows, and 32-bit x86 Linux.
Contents
|
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 Java (although the integrated development environment was Mac only). In 1997 CrossBasic was purchased by FYI Software which renamed it REALbasic as well as renaming the company REAL Software. At this time they dropped the Java target, later replacing it with a Windows target and database support. The IDE is now available for Microsoft Windows, Mac OS X, and 32-bit x86 Linux and can compile applications for Windows (Windows 2000 and higher), Mac OS X (PowerPC, Intel, and Universal Binary) and 32-bit x86 Linux.
With 2010 Release 1, the IDE has been renamed REAL Studio. The programming language itself will remain REALbasic.
RB is a strongly typed language with minimal automatic type conversion, which supports single inheritance and interfaces, classmethods and class properties, automatic memory management via reference counting, and operator overloading. A very important feature is the ability to extend (not just inherit from) existing classes, like Objective-C Categories. This considerably reduces the need for the Abstract Factory Pattern, which complicates using Application Frameworks in Java and C++. REALbasic also includes delegates, introspection, and namespace support, which allows modules to contain classes, interfaces and other modules.
As described in the language reference, its built-in framework supports (REAL Software 2008):
The framework functionality can also be extended by creating plugins using the Plugin SDK provided by REAL Software. Plugins are created using C/C++ with a variety of supported compilers, including Xcode, Microsoft Visual Studio and gcc. Plugins can support any platform REALbasic supports, but are not required to support all platforms.
Versatile Software PackagesIt's easy to select just the right programs for your needs andbudget. You may want all of the most popular programs in a MicrosoftOffice software package, including Word®, Excel®, PowerPoint® andOneNote®. Whether you are looking for the entireMicrosoft Office Suite or extra programs like Publisher or Access, wecarry a variety of software options to get the right software for yourhome or business. Be sure to review all of our additional, including.
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. REALbasic 2006 Release 3 and newer also supports a human-readable version control format which allows easy collaboration with tools such as Subversion or CVS.
There are three versions of the IDE:
Both versions of the IDE permit building the application's graphical user interface by dragging the controls from a toolbar to their parent window. Layout of the controls is helped by the IDE, which permits aligning them (both horizontally and vertically) and which gives information about the distance between controls or between a control and the window borders.
Like many modern IDEs, the code editor supports customizable syntax highlighting, autocompletion and refactoring tools. The IDE also includes editors for menus and database schema and viewers for multimedia files such as pictures, movies or sounds.
The IDE gives the programmer access to scripting features via RBScript, which allows control of the IDE for automating tasks such as running regression tests or doing nightly builds. The scripts can be either global or project-specific.
REALbasic supports incremental compilation, whereby the compiler needs to recompile only those parts of a project which have been modified. For instance, if only the body of a method is modified, then only the project item containing that method need be recompiled.
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:
The same function can be defined to accept Doubledatatype values. This code shows how to use the Complex class to sum a real with a complex number:
|