comp.lang.ada
 help / color / mirror / Atom feed
* Ada'83 to Ada'95 Problem
@ 2001-03-01 11:43 dis00109
  2001-03-01 14:19 ` Marin David Condic
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: dis00109 @ 2001-03-01 11:43 UTC (permalink / raw)


I am trying to get a program to accept two integers as input by the user
(for a university project) however in the exception handling section of
my program it will not accept a float input as an error it merely
ignores everything after the decimal point. This would appear to be a
new feature in Ada'95, can anyone think of a way to solve this...PLEASE!




^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: Ada'83 to Ada'95 Problem
@ 2001-03-01 17:39 Beard, Frank
  2001-03-05 13:51 ` John English
  0 siblings, 1 reply; 8+ messages in thread
From: Beard, Frank @ 2001-03-01 17:39 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

I think what she is talking about is:

  12  3.14

So,

  Get(A); Get(B);

yields "12" and "3" respectively.

She wants "3.14" to be an error for Get(B).

Frank

-----Original Message-----
From: John English [mailto:je@bton.ac.uk]
Sent: Thursday, March 01, 2001 9:28 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: Ada'83 to Ada'95 Problem

???

Is this what you've done, perhaps?

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.it.bton.ac.uk/staff/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------
_______________________________________________
comp.lang.ada mailing list
comp.lang.ada@ada.eu.org
http://ada.eu.org/mailman/listinfo/comp.lang.ada




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-03-05 13:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-01 11:43 Ada'83 to Ada'95 Problem dis00109
2001-03-01 14:19 ` Marin David Condic
2001-03-01 14:27 ` John English
2001-03-01 18:23 ` Ted Dennison
2001-03-01 19:29 ` Singlespeeder
2001-03-02 16:03 ` Tucker Taft
  -- strict thread matches above, loose matches on Subject: below --
2001-03-01 17:39 Beard, Frank
2001-03-05 13:51 ` John English

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