From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,975b46ec27c036e5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-01 06:07:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Need help for a Calculator program Date: Fri, 1 Feb 2002 14:07:43 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1012572463 3422 129.241.83.82 (1 Feb 2002 14:07:43 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 1 Feb 2002 14:07:43 +0000 (UTC) User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:19467 Date: 2002-02-01T14:07:43+00:00 List-Id: On 1 Feb 2002 04:06:27 -0800, Jim wrote: > it tell you how to program a calculator throughout the book, starting > with basic adding and then going on to operator procedence(well i > havent reached this stage yet) but the second part of the calculator > program (chapter ) you enter an expression eg 1 + 2 + 3 * 4. but you > have to end the expression with a full stop. Is there a way where you > dont have to enter a full stop. Yes. If you were to use a comma instead what would you do with the code to do that? -- Preben Randhol �For me, Ada95 puts back the joy in programming.�