Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csmil.umich.edu From: cash@csmil.umich.edu (Howard Cash) Newsgroups: comp.sys.mac.programmer Subject: Who has hacked numeric TEdit?. Message-ID: <1076@mailrus.cc.umich.edu> Date: 16 May 89 07:18:34 GMT Sender: usenet@mailrus.cc.umich.edu Reply-To: cash@csmil.umich.edu (Howard Cash) Organization: Cognitive Science and Machine Intelligence Laboratory Lines: 16 Here's another one of those programming tasks that I'm sure has been solved fifty-dozen times. I know the problem isn't tough, but why reinvent the wheel? Who is willing to part with the code for an editable text item that only accepts valid numbers (real or integer)? For an example, try the PRINT command in almost any application. There are usually two tedit records where you can input the first and last pages to be printed. Try typing in a non- numeric character and see what happens. Free chocolate at my place for the winning respondent. -Howard cash@csmil.umich.edu