comp.lang.ada
 help / color / mirror / Atom feed
* Easy way to read FLOAT?
@ 1995-01-27 10:39 Aaron Diesen
  1995-01-27 14:38 ` Norman H. Cohen
  1995-01-29 11:49 ` Andre Spiegel
  0 siblings, 2 replies; 3+ messages in thread
From: Aaron Diesen @ 1995-01-27 10:39 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

Hi-

I am working on my first ada program, and I need to read a float.  I ran 
into problems when trying to input an integer into a float variable 
(works in other languages).  Do I need to make an 'exception', or is 
there another way to get around this?  (A new type that includes all the 
integers and all the floats?)  I know I should probably make it a string, 
for safety purposes, but I don't think the teacher wants that.  BTW, I could 
not find a FAQ, so don't flame me.

                    .end.
� MUD �                               � MUD �       
-------                               -------
�                  e-m�il:                  � 
�     icsjp318@gemini.oscs.montana.edu      �
�                                           �
�      Other accounts you can e-mail        �
� or finger if you want to waste your time: �
�      icsia110@msu.oscs.montana.edu        �
�       gad7822@msu.oscs.montana.edu        �
---------------------------------------------





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

end of thread, other threads:[~1995-01-29 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-01-27 10:39 Easy way to read FLOAT? Aaron Diesen
1995-01-27 14:38 ` Norman H. Cohen
1995-01-29 11:49 ` Andre Spiegel

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