Jump to content

Module:Sandbox/Luis150902/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Renamed user awfwvowjvwrvnwio (talk | contribs) at 16:58, 23 September 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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).