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 06:42, 6 April 2006 editPeruvianllama (talk | contribs)Extended confirmed users13,515 edits rv to last by SirNuke - the content may be skewed, but remove it properly instead of chopping out all the text, leaving only groups of wikilinks behind← Previous edit Revision as of 05:44, 7 April 2006 edit undo67.0.66.111 (talk) All unverified and supported information removed - no links to independent online articles (i.e., not RS or publications getting advertising dollars from RS). This is not a blog or RS ad space!Next edit →
Line 13: Line 13:
}} }}


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


== History == == History ==
(] ] ] ]).
REALBasic was created by Andrew Barry, who has since moved on to creating ExtremeBasic. 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 February 2006, of ] ]).


== Language features == == Language features ==
RB is a strongly typed language with minimal automatic type conversion, that supports single ] and multiple ], ] ] and ] properties, ] (similar to ]), definition of customized arithmetic operators (similar to ]). It has a complete feature set supporting ], ], real-time ], sound, ] parsing and generation (even through ]), full ] support, ] calls to compiled ] libraries on all supported platforms, ] datatypes compatibility, ], ], ], ] sockets, ], ], ], ], ], ] support through ], ], ], ], ], ] and ]. ] ] ] ] ]] ] ] ], ], ]]] ] ] ]]], ], ], ] ], ], ], ], ], ]], ], ], ], ], ]].


== File Format == == File Format ==
] ] ].
The source file format contains window and control placement data and is proprietary; however, ] import and export and ] import functionality is included. 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 (Mac OS X, MS Windows, Linux).


== Current Editions of IDE == == Current Editions of IDE ==
]
There are two versions of the ]:
* The professional edition can compile programs for ], ] and ] (plus ]) 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 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 ] other than the built-in REAL SQL Database.


]:
Both versions of the IDE permit building the application ] 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.
], ] ] ]]]] ] ]]
].


]
== More screenshots ==
{|
| ]
| ]
|-
| ]
|}


] ] ] ]
== Example code ==


=== ] === == More screenshots ==
<pre>
Dim Salutation As String
Salutation = "Hello, world"
MsgBox(Salutation)
</pre>


=== MD5 hash ===
Here's some sample code that computes the ] of a given ]:


== Example code ==
<pre>
] ]]]:
Dim Hash As String

Dim Digest As New MD5Digest
Digest.Process("Source")
Digest.Process(" String")
</pre>


=== Operator overloading ===
This is an example of ] for a hypothetical Complex ] 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 ] to sum a ] with a ]:


] ]
<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>





Revision as of 05:44, 7 April 2006

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

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

History

(IDE 1997 Intel Macs).

Language features

inheritance interfaces class methods classreference counting Java C++ hash tables, threads, 3D graphicsXMLXSL Unicode API CVisual Basicregular expressions, QuickTime, serial, TCP/IP SSL, HTTP, POP3, SMTP, SOAP, scripting languageRBScript, Apple events, Address book, Windows registry, system tray icons, ActiveXOLE.

File Format

XML Visual Basic machine language.

Current Editions of IDE

IDE: Mac OS X, Linux Microsoft Windows Mac OSsource codedatabaseOracle PostgreSQL MySQLSQLite databases.

GUI

plugins classes modules multiplatform

More screenshots

Example code

MD5 hash string] dialog box:


operator overloading class real complex number


Double datatype classrealcomplex number:


External links

See also

Categories: