You're welcome smile

Eventhough I may be blind .. besides for the exchange of "return" for "halt", I don't see any difference between the code given. blush

As a sidenote, I would strongly recommend using "return" instead of "halt". Halt sometimes causes problems for other scripts in the same file.


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke