Difference between revisions of "Scribunto/Test"

From PKC
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:


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


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

Latest revision as of 15:10, 9 January 2022

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


Reverse string function

"CBA321"

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