This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
argument [2023/01/09 09:54] dmytroh |
argument [2023/01/09 10:05] dmytroh |
||
---|---|---|---|
Line 7: | Line 7: | ||
Different functions require different amounts of arguments, examples: | Different functions require different amounts of arguments, examples: | ||
- | * time() requires no arguments. You need therefore not write the parenthesis, | + | * time() requires no arguments. You need therefore not write the parenthesis, |
- | * sin() requires one argument - the angle | + | * sin() requires one argument - the angle. Returns the trigonometric sine of an angle. |
- | * mod() requires two arguments - the value and the divider | + | * abs() requires one argument - the value, or parameter/ |
+ | * mod() requires two arguments - the dividend | ||
* max() requires two, //or more//, arguments and will return the highest of the given arguments. | * max() requires two, //or more//, arguments and will return the highest of the given arguments. | ||
* A [[Lookup_table|lookup table]] which has been configured to accept arguments accepts only one argument - the lookup key. | * A [[Lookup_table|lookup table]] which has been configured to accept arguments accepts only one argument - the lookup key. |