RAP Language Overview

Previous  Top  Next

RAP is a subset of Delphi's Object Pascal. Most language elements in Delphi are recognized by the RAP compiler and can be found in the Code Toolbox. The following is a list of elements contained in the Toolbox.

Statements:
Case statements

If–then statements
If–then–else statements
For loops
Repeat loops
While loops

Data Types:
Boolean

Currency
Double
Extended
Integer
Single
Char
String
Date
DateTime
Time
Color
Variant

Operators:
Assignment (:=)

Boolean (and, not, or, xor)
Class (as, is)
Math (-, +, *, /, div, mod)
Relational (<, <=, <>, =, >, >=)
String (+)
Unary (-, +)

Currently Unsupported Elements:
Class declarations

Arrays
Record types
Set types