User Tools

Site Tools


argument

This is an old revision of the document!


Argument

An argument is defined as a value sent to a function, or to expressions or lookup tables.

Different functions require different amounts of arguments;

  • time() requires no arguments. You need therefore not write the parenthesis, but can call the function using only the name: time.
  • sin() requires one argument - the angle
  • mod() requires two arguments - the value and the divider
  • max() requires two, or more, arguments and will return the highest of the given arguments.
  • A lookup table which has been configured to accept arguments accepts only one argument - the lookup key.
  • An expression which has been configured to acccept arguments requires exactly the number of arguments as the configuration specifies.

See also

argument.1574080450.txt.gz · Last modified: 2019/11/18 13:34 by 127.0.0.1