paxBasic Miscellaneous Operators

Language Element Short Description
AddressOf Operator Returns delegate of function or alias of variable.
TerminalOf Operator Returns terminal of variable.
New Operator Creates a new object.
Concatenation Operator (&) Forces string concatenation of two expressions.
+ Operator (unary) Returns copy of array.

AddressOf Operator

Returns delegate of function or alias of variable (see LISPPA ).
result = AddressOf Expr

Arguments

result
Any variable.
Expr
Any expression.

TerminalOf Operator

Returns terminal of variable (see LISPPA ).
result = AddressOf Expr

Arguments

result
Any variable.
Expr
Any expression.

New Operator

Creates a new object.
result = New constructor'(' [arguments] ')'

Arguments

result
Any variable
constructor
A class name
arguments
Optional. Any arguments to be passed to the new object's constructor.

Example

X = New Point(3, 5)

Concatenation Operator (&)

Forces string concatenation of two expressions.
result = expression1 & expression2

Arguments

result
Any variable
expression1, expression2
Any expression
If one or both expressions are Null expressions, result is Null.


Copyright © 1999-2006 VIRT Laboratory. All rights reserved.

+ Operator (unary)

Returns copy of array.
result = + expr

Arguments

expr
Any expression