From 2e247d1682d588c792f867f09d4e9febc2080849 Mon Sep 17 00:00:00 2001
From: David Hedbor <david@hedbor.org>
Date: Wed, 19 Apr 2000 13:40:54 -0700
Subject: [PATCH] Array.uniq now written in c and returns the result in the
 same order as the original array.

Rev: tutorial/tutorial.wmml:1.195
---
 tutorial/tutorial.wmml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml
index 4437b9dab4..63c9853dc1 100644
--- a/tutorial/tutorial.wmml
+++ b/tutorial/tutorial.wmml
@@ -6624,7 +6624,9 @@ array uniq(array <I>a</I>);
 </man_syntax>
 <man_description>
 This function returns an copy of the array <i>a</i> with all duplicate
-values removed. The order of the values in the result is undefined.
+values removed. The order of the values in the result is same as the order
+in the original array. Ie Array.uniq( ({ 1,4,1,2 }) ) would always result in
+({ 1,4,2 }).
 </man_description>
 </function>
 
-- 
GitLab