 |
ALPHA-VISION® Mathematical Operations: Add
|
Add
SUMMARY
Add - Adding arguments
SYNTAX
Add(
<arg1, arg2, ...>);
ARGUMENTS
- arg1 ...argN (type:float)
-
The operands of the addition.
DESCRIPTION
Stack
- Missing arguments are taken from the stack
(and removed from there).
- The sum of the arguments is pushed onto the stack.
Effect
Calculates the sum of the given arguments, whereby there are
interpreted as floating point numbers:
arg1 + arg2 + ... + argN
EXAMPLES
//Stack before (3 Elements):
//"1"
//2,3
//"c" //interpreted as Null
Add(3,,4,, );
//Stack afterwards (1 Element):
//10,3
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times