Keyword | Description |
---|---|
Address |
Address of item being defined. This can for instance be the address of a callback function or
a variable in your source code.
Example:
|
AnyType | |
ApiCall | |
Begin | |
Boolean |
Sets string values that evaluate to True and False, as well as the numeric value returned for True.
Example:
For instance, if you want the word YES to evaluate to true, and NO to evaluate to false, and you want the numeric value for TRUE to be 1 (as opposed to -1), then you would set it as Boolean: 1, YES, NO |
Bootstrap | |
ByExpr | |
ByHandle | |
ByRef | |
ByVal | |
CaseSensitive | CaseSensitive: true, makes the current uCalc instance case sensitive. |
ChangeMulti | ChangeMulti is the inverse setting of ChangeOnce |
ChangeOnce | ChangeOnce causes the a transformation to happen only once and then move on, otherwise the changed expression is parsed again until no further changes are possible. ChangeOnce is the inverse setting of ChangeMulti. |
CheckForStop | |
Class | |
CodeblockSensitive | |
CodePostfix | |
CodePrefix | |
ConvertsBetween |
Defines a group of compatible datatypes such that a value can be converted from any data type in the
group to any other data type in the group
Example:
|
ConvertsFrom |
List of data types that the current one can be converted from.
Example:
|
ConvertsFromAddr | |
ConvertsFromAny |
Allows any data type to convert to this one (can be useful for types like String)
Example:
|
ConvertsFromType | |
ConvertsTo | List of data types that the current one can be converted to |
ConvertsToAddr | |
ConvertsToAny | Allows this type to be converted to any other |
ConvertsToType | |
Count | |
DataType |
1. Assigns a data type to the item currently being defined,
Example:
Or 2. Defines a datatype You must supply the name you want uCalc to associate with the data type, and an element from BuiltInTypesEnum. For end-user types, use Type_UserDefined. To construct a datatype at the same level as built-in data types, use Type_Intrinsic Example:
Or 3. Assigns properties to the given data type Example:
|
Default |
Sets properties as the default
Example:
|
DefSeparator | This sets the string of characters that delimit parts of a definition. ~~ is the default. |
DefSpace | |
EndMatch |
Sets the matching token in a token definition. Some tokens are defined as a pair. For instance,
parentheses are defined internally with an opening parenthesis, and a matching closing parenthesis as follows:
Example:
|
ErrorHandler | Defines an error handler. The AddErrorHandler function consists of a call to Define with this keyword. |
EvalSpace | |
Exec | |
ExitFile | |
ExternalKeywords | |
From | |
FuncBody | |
Function | Defines a function. DefineFunction consists of a call to Define with this keyword. |
Grouping | Sets the grouping attribute of an operator or syntax construct. Although operators are defined with the default LeftToRight setting, this property can be set to RightToLeft |
If | |
IfDef | |
IfFileOption | |
IfnDef | |
IgnoreOutput | |
Include | |
Inline | |
IsUnion | |
Label | |
LineContinue | |
Lock | Locking an item prevents it from being redefined. DefineConstant uses this. |
Max | |
MaxSoft | |
Min | |
MinSoft | |
Mode | |
Name | Sets the name of the item currently being defined. |
Namespace |
Sets a namespace. First, give it a name. Then set the namespace property to Begin. All subsequent
definitions will go into this namespace until you issue namespace definition with the property set to End.
Example:
|
NewLine | |
NextDef | |
Operator | |
Output | See SetOutput which consists of a call to: Define("Output:" + Definition, Address); |
Overhead | |
Overwrite | |
Param | |
Pass | |
PassOnce | |
Path | |
Precedence |
Sets the precedence level of the operator or sytax construct being defined.
Example:
|
Property | |
QuotedText | |
QuotesenSitive | |
Rank | |
RepassAll | |
RepassLocal | |
RightToLeft | |
RunFile | |
Size | |
SkipOver | |
StartAfter | |
StopAfter | |
SubMatch |
Selects the part of the token that represents literal data.
Example:
|
Syntax |
For defining Syntax Constructs.
Example:
|
SyntaxArg | |
SyntaxEqual | Sets the delimiter that separates the From part from the To part when defining Syntax Constructs. The default is ::= |
TextData | |
Thread | |
To | |
Token | Defines a token. |
TokenType | |
Type | |
TypeHandler | |
uCalc | |
Value | |
Variable | For defining variables and constants. |
VariableArgList |