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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,975b46ec27c036e5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-01 04:06:29 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: genx54321@hotmail.com (Jim) Newsgroups: comp.lang.ada Subject: Need help for a Calculator program Date: 1 Feb 2002 04:06:27 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 213.122.210.27 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1012565188 28740 127.0.0.1 (1 Feb 2002 12:06:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 1 Feb 2002 12:06:28 GMT Xref: archiver1.google.com comp.lang.ada:19460 Date: 2002-02-01T12:06:28+00:00 List-Id: ive been reading that online book http://www.it.bton.ac.uk/staff/je/adacraft/ 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. the program itself is in the link: http://www.it.bton.ac.uk/staff/je/adacraft/ch03.htm#3.8 th full stop is used for a condition, if you put a full stop there it will end a loop for 'getting' operators and then the program will continue with calculating the expression. could someone have a look at it for me plz ?