Difference between revisions of "Scribunto/Test"

From PKC
Jump to navigation Jump to search
Line 3: Line 3:


=Reverse string function=
=Reverse string function=
{{#invoke:Test|reverse|"abcdefg"}}
{{#invoke:Test|reverse|"ABC"}}


=Math type setting instruction must be produced by the function=
=Math type setting instruction must be produced by the function=

Revision as of 13:01, 9 January 2022

Hello, world! from The 3rd Arg-The FIRST ARGUMENT -THE 2nd ARG


Reverse string function

"CBA"

Math type setting instruction must be produced by the function

  1. -Calculus
  2. -Calculus
  3. -Calculus

Raw String

Selector

11

Multi-Argument

1 , ,-Calculus

Arithmetic

{{#invoke:Test|arithmetic|5|4|3}}

12 is the identity sum

Trig Function

-2.0510342851533e-10 is the cos of pi

Repetition

4, 3, 1, 2, 

Statistics

12



Scribunto/Test