RBScript

RBScript

Infobox Software
name = RBScript

developer = REAL Software, Inc.
operating_system = Mac OS X, Microsoft Windows, Linux
genre = Scripting languages
license = Proprietary
website = [http://www.realsoftware.com/ REAL Software, Inc]

RBScript is a scripting language which is similar to, and shares many features with, REALbasic. They are both object oriented, support modules and use almost identical datatypes (REALBasic introduced some differences in the latest version, mainly for compatibility with some C APIs). RBScript is mainly used to script applications written with REALbasic, and (from the 2006r1 version) is also used in the REALbasic IDE.

Compared to the different scripting languages that can still be used with REALbasic (thanks to the ability it offers to call C APIs), RBScript can be better integrated into REALbasic applications by the possibility it has to call the methods and to use the properties of the object passed to the script parser and compiler.

Software developers who want to use RBScript in non-REALbasic applications (for example, in C++ applications) should contact REAL Software for licensing information.

Example Code

This sample code asks the host program for a number and doubles it:

Dim Value As IntegerValue = Val(Input("Which number?"))Print(Str(Value*2))

It's up to the host program to decide how to implement the callback methods called from Input() and Print() - RBScript just expects the first method to return a string and accept a string parameter, and the second one to accept a string parameter. Usually, the program would prompt the user presenting the string passed from the script, and returning the user input to the hosted script.

External links

* [http://www.rbgarage.com/rbg/index.php?go=category&cid=6 Some REALbasic projects related with RBScript]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Eval — In some programming languages, eval is a function which eval uates a string as though it were an expression and returns a result; in others, it executes multiple lines of code as though they had been included instead of the line including the… …   Wikipedia

  • REALbasic — Infobox Software name = REALbasic logo = caption = The REALbasic IDE running on Windows Vista developer = REAL Software, Inc. latest release version = 2008 Release 4 latest release date = September 23 2008 operating system = Mac OS X, Microsoft… …   Wikipedia

  • HyperNext — is a freeware visual software development system aimed at beginner programmers that runs on Macintosh and Windows computers. It was inspired by HyperCard and includes a GUI having controls such as buttons and listboxes, and an interpreted English …   Wikipedia

  • The Palace (computer program) — Infobox Software name = The Palace caption = developer = Time Warner Interactive, independent developers latest release version = latest release date = latest preview version = latest preview date = operating system = Mac OS 9, Mac OS X, Linux,… …   Wikipedia

  • List of BASIC dialects by platform — List of BASIC dialects by platform: This is a list of dialects of the BASIC computer programming language, sorted into groups for better conceptual organization.There is also an alphabetical list of BASIC dialects. These two lists should contain… …   Wikipedia

  • List of BASIC dialects — This article gives an alphabetical list of BASIC dialects mdash;a flat list of interpreted and compiled variants of the BASIC programming language. The dialects platform(s) (that is, the computer models and operating systems) are given in… …   Wikipedia

  • PalaceChat (software) — Infobox Software name = PalaceChat caption = developer = Jameson Heesen latest release version = latest release date = latest preview version = latest preview date = operating system = Mac OS X and Microsoft Windows genre = Virtual Community,… …   Wikipedia

  • Liste des langages de programmation — Le but de cette Liste des langages de programmation est d inclure tous les langages de programmation existants, qu ils soient actuellement utilisés ou historiques, par ordre alphabétique. Ne sont pas listés ici les langages informatiques de… …   Wikipédia en Français

  • Список языков программирования — Списки языков программирования Алфавитный По категориям Хронологический Генеалогический Цель этого алфавитного списка языков программирования состоит в том, чтобы дать полный перечень всех существующих языков программирования, как используемых в… …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”