This is the documentation page for Module:Sandbox/Luis150902


Information edit source

Uses Module:Arguments and Module:Yesno.

Usage edit source

{{#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 edit source

Gets the length, in characters, of the first argument.

N = 2 edit source

Counts its arguments.

N = 3 edit source

Performs the operation specified by the first argument in the remaining arguments.

Available operations: "+", "-", "*", "/", "%", "!" (boolean NOT).