Josh,

While that would indeed work, I think your function isn't type stable.  I 
think Simon's answer above is the way to go.

Daniel

Reply via email to