Yep. Returning the empty array works just fine. My comments were referring to the parsing of the array which I was trying to avoid. The return statement works just fine outside that conditional statement.
~joe On 12/7/06 8:38 PM, "Norman Palardy" <[EMAIL PROTECTED]> wrote: > > On Dec 07, 2006, at 7:26 PM, William Squires wrote: > >> Your question answers itself, methinks. How can you get a 'nil' >> array passed in in the first place? This doesn't make sense. Is >> this a bug in RB or a misunderstanding? > > Writing a routine that is defined to return an array of something and > have no return value > You'll get a nil array > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
