 |
ALPHA-VISION® Mathematical Operations: Sub
|
Sub
SUMMARY
Sub - Calculates the difference of the given arguments
SYNTAX
Sub(
<arg1, arg2, ...>);
ARGUMENTS
- arg1 ...argN (type:float)
-
Operands of the subtraction.
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 difference of the given arguments, whereby there are
interpreted as floating point numbers:
arg1 - arg2 - ... - argN
EXAMPLES
//Stack before (3 Elements):
//"10"
//2,3
//"c" //interpreted as Null
Sub(,1,4,, );
//Stack afterwards (1 Element):
//2,7
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