I'm wanting have something that adds only unique elements to an array, i.e. only allow the value onto the array if it is not already included.
I'm pretty sure I recall reading a way that does with without recursively checking the elements already in the array, but for the life of me I can't recall it. I have it working recursively, but there possibly being a better bugs me (theres always another way =P). I know this is probably quite trivial, but thanks for any input.
Regards Paul.