Difference between revisions of "Module:Sandbox/Luis150902/doc"
< Module:Sandbox | Luis150902
Jump to navigation
Jump to search
blackwiki>Renamed user awfwvowjvwrvnwio |
m (6 revisions imported) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | |||
| + | == Information == | ||
| + | |||
| + | Uses [[Module:Arguments]] and [[Module:Yesno]]. | ||
| + | |||
== Usage == | == Usage == | ||
Latest revision as of 10:07, 27 September 2020
Contents
Information
Uses Module:Arguments and Module:Yesno.
Usage
{{#invoke:Sandbox/Luis150902|function_name|args}}
, where function_name is "f" followed by a natural number (N) and args is a pipe-separated list of arguments.
N = 1
Gets the length, in characters, of the first argument.
N = 2
Counts its arguments.
N = 3
Performs the operation specified by the first argument in the remaining arguments.
Available operations: "+", "-", "*", "/", "%", "!" (boolean NOT).