From: Joel VanderWerf Date: 2006-12-02T10:38:23+09:00 Subject: Re: Simple iteration in a function problem Paul Lutus wrote: > Blake Miller wrote: ... >> Why can't it be a string, I can use whatever I want to identify an >> object. ... > 2. It should not be a string because your goal is to compare two object IDs, > not strings. You are calling the variable "uniqueId", don't you think it > should be what it says it is? BTW use the Rubyish "unique_id" rather than > "uniqueId". If the ID is coming from outside the program (a file say) or if the ID needs to persist, then using a string makes sense. Ruby object ids don't persist. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407