Subversion Repositories DevTools

Rev

Rev 6177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6177 Rev 6387
Line 117... Line 117...
117
 
117
 
118
#-------------------------------------------------------------------------------
118
#-------------------------------------------------------------------------------
119
# Function        : UniquePush
119
# Function        : UniquePush
120
#
120
#
121
# Description     : Push onto the specified array only if 'arg' is unique
121
# Description     : Push onto the specified array only if 'arg' is unique
-
 
122
# 
-
 
123
# NOTE            : Do not use in loops over a large number of elements
-
 
124
#                   It is slow.
122
#
125
#
123
# Inputs          : $pArray             - Ref to an array
126
# Inputs          : $pArray             - Ref to an array
124
#                   @arguments          - Argumenst to process
127
#                   @arguments          - Argumenst to process
125
#
128
#
126
# Returns         : Number of items that were unique
129
# Returns         : Number of items that were unique