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?
On Dec 7, 2006, at 3:14 PM, JC wrote:
I had some code that tested to see if an array was empty and (as
far as I
can tell) worked fine.
u=UBound(xArray)
if u>-1 then
for i=0 to u
xPop.AddRow xArray(i)
next
end
Well xArray is being passed to this method and if it's "nil" this
doesn't
work. Anyway it appears that I can't test for nil because the
array isn't
an object. So these doesn't work:
if xArray is nil then
if xArray = nil then
Etc etc...
What am I missing here? Something obvious I'm sure...
~joe
_______________________________________________
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>