comp.lang.ada
 help / color / mirror / Atom feed
From: "Jim" <genx54321@hotmail.com>
Subject: Re: Need help for a Calculator program
Date: Sun, 3 Feb 2002 15:41:38 +0000 (UTC)
Date: 2002-02-03T15:41:38+00:00	[thread overview]
Message-ID: <a3jlnb$s9l$1@paris.btinternet.com> (raw)
In-Reply-To: ab6237e2.0202010406.48b59067@posting.google.com


ive now used "end_of_line" instead of "if operator = '.' then put(result)".

but what happens now, you can put any character after the expression eg 1 +
2 + 3f,  1 + 2 + 3z press enter and get the answer.

if you dont put anything after the last operand it doesnt do anything.  This
is because the loop has the check the next character after the last operand
right ?

how do i make loop exit without it actually reading the next character ?







  parent reply	other threads:[~2002-02-03 15:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-01 12:06 Need help for a Calculator program Jim
2002-02-01 12:41 ` John English
2002-02-01 14:07 ` Preben Randhol
2002-02-01 18:17 ` Stephen Leake
2002-02-01 18:57   ` Jim
2002-02-01 23:20   ` Jeffrey Carter
2002-02-01 23:46 ` Jim
2002-02-02  4:12   ` Eric Merritt
2002-02-02 16:22     ` Jim
2002-02-02 12:04   ` Preben Randhol
2002-02-03 15:41 ` Jim [this message]
2002-02-04 13:54   ` Stephen Leake
2002-02-12 11:55     ` John English
2002-02-12 15:43       ` Pat Rogers
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox