From 57f4e15b69b31fc7aa939cd2bfadbb56028f6ff8 Mon Sep 17 00:00:00 2001 From: Jonas Wallden <jonasw@roxen.com> Date: Wed, 25 Aug 1999 11:42:43 +0200 Subject: [PATCH] Fixed default comparison operator in Array.sort_array (was `< instead of `>) Rev: tutorial/tutorial.wmml:1.147 --- tutorial/tutorial.wmml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index dbae05595c..81414649bd 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -6347,7 +6347,7 @@ array sort_array(array <I>arr</I>,function <I>fun</I>,mixed ... <I>args</I>); This function sorts an array after a compare-function <i>fun</i> which takes two arguments and should return 1 if the first argument is larger then the second. The rest of the arguments <i>args</i> will be -sent as 3rd, 4th etc. argument to <i>fun</i>. If <i>fun</i> is omitted, `< is used +sent as 3rd, 4th etc. argument to <i>fun</i>. If <i>fun</i> is omitted, `> is used instead. </man_description> <man_see> -- GitLab