|
|
[array_unique]Description
This is a subclassed array which will not add duplicate items. Useful in situations where the order of insertion is important, and thus using a [set] is not an option. Otherwise, works identically to a standard array. Parametersnone Sample Usage
Source CodeClick the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
Related Tags
Comments
01/28/2011, BRYCE SMITH
Count elements not added Great tag. Very useful. Thanks for making it available to us. I am adding a couple hundred unique elements to an array using this tag and was wondering if there was some way to check and see if the element was added each time I loop through. I'd like to make a count of all instances of an element not added, until one is, then start the count over. Is there and undocumented feature for that? Thanks much. |
|||||||||||||||||||
Count elements not added
Great tag. Very useful. Thanks for making it available to us. I am adding a couple hundred unique elements to an array using this tag and was wondering if there was some way to check and see if the element was added each time I loop through. I'd like to make a count of all instances of an element not added, until one is, then start the count over. Is there and undocumented feature for that? Thanks much.