B4P supports different parameter types (e.g. string, etc.) as well as more specialized parameter types.
Parameter Types | Description |
---|---|
All | Accepts |
Numeral | Accepts numerals and expressions returning numeral values |
String | Accepts strings and expressions returning lterals |
Boolean | Accepts true, false or expressions returning boolean values, e.g. comparisons |
Date | Accepts dates and/or time values or expressions returning date/time values. |
Date or string | In this case, strings will be converted to dates automatically, e.g. "29.Feb. 20" to 2020-02-29, or "today" to today's date |
Parameter set | Accepts parameter sets or expressiosn returning parameter sets |
Combinations of above | Various functions accept values of different types |
Table columns | Parameter to specify one or multiple table columns in a flexible way. See section on table columns as function parameters. |
Parameter set or string | Various functions accept either parameter sets or strings. See section on parameter set or string for details |
All types | Accepts values of all types, including void |
Valid types | Accepts values of all types, except void |
Variable | Code piece, expecting a variable name |
Comparison expression | Code piece, expecting a comparison expression |
Expression | Code piece, expecting an expression |
Statements | Code piece, expecting a statement, multiple statements or a block of statements (inside braces) |
Special parameter types and rulings are desrbied in the next section.