Path: utzoo!attcan!uunet!wuarchive!udel!princeton!phoenix!eliot From: eliot@phoenix.Princeton.EDU (Eliot Handelman) Newsgroups: comp.emacs Subject: Re: Need read-number function Message-ID: <13690@phoenix.Princeton.EDU> Date: 8 Feb 90 07:33:15 GMT References: <4300068@m.cs.uiuc.edu> Reply-To: eliot@phoenix.Princeton.EDU (Eliot Handelman) Organization: Princeton University, NJ Lines: 12 In article <4300068@m.cs.uiuc.edu> reingold@m.cs.uiuc.edu writes: ; ;I need a function read-number that would behave like (interactive "n"); ;that is, it would keep trying until a numeric value was typed. ; ;Any suggestions? How's about this: (defun read-number (number) (interactive "nNumber: ") number)