----- Original Message ----- From: "Christian Vandendorpe" <[EMAIL PROTECTED]> > > What I do is that I take that string and use StrAToI to get a number, if > that number is 0 then it means that the string entered was invalid.
Well, not necessarily. How does the user enter 0? :) > I > mean what is the big deal to try to write some extremely complex routine > that allows users only to enter valid number strings. Let users enter > what they want (eg "1-2.3-...24----24") but then react accordingly. It > will save you precious space. But I agree completely with this. We programmers have a tendency to spend a lot of time on details--the trick is to make sure those details are important. This one isn't. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
