diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index 8a13855a707e771212b5d4bab4321427806449ab..dd5d0bf555e099225ca48ba0a85826e318497644 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -12196,7 +12196,7 @@ with <i>args</i> as arguments. <dt><encaps>DESCRIPTION</encaps><dd> This function is exactly equivalent to: <example language=pike> -map_array(index,lambda(mixed x,mixed y) { return x[y]; },data) +map_array(data, lambda(mixed x,mixed y) { return x[y]; }, index) </example> Except of course it is a lot shorter and faster. That is, it indexes every index in the array data on the value of