On Sam, 25 Mär 2000, Tani Hosokawa wrote: > If you don't pass it a pointer, isn't the behavour going to be undefined? Great, somebody who can read documentation. Very rare :-) No, it is not undefined. it'll return "0" when ok would be set to false. So the code is correct. The problem probably was that he entered probably non-decimal stuff into the field so that it couldn't convert it to a number at all. I fixed it now that you can only enter decimal numbers in a given range. Dirk