On Dec 08, 2006, at 7:28 AM, JC wrote:

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

Not an empty array; a NIL array
If you return nothing from a routine that declares itself to return an array then you get a NIL and then you have problems
This function will create one

        function nilArray() as string()
        end function

because RB always returns something from a function you get a nil array (not an empty one) and you cannot test it for ANYTHING

So never return 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>

Reply via email to