>So what I'd like to get is anyone's notion of _any possible_ cause for this >particular misbehavior (should I offer a prize for the most creative?). Well, let's start with the obvious things, since these are easy to overlook. 1. In a big project, it's easy to make an error in the big things. Are you sure that all files are sharing the same globals file(s) and all your GLOBALS statements declared in the same order, with no other globals declared before them? 2. Have you recompiled the whole project to make sure that all the globals are being mapped correctly? 2. Have you tried putting a PRINT wholeInput$ statement right at the top of your function to make sure that the correct value is entering the function? HTH ____________ wave (Toronto, Canada) Much better at "OOPS!" programming than OOP programming.