comp.lang.ada
 help / color / mirror / Atom feed
* ATOI
@ 2003-07-11  8:39 Riccardo Fulcoli
  2003-07-12  1:58 ` ATOI Robert I. Eachus
  2003-07-12  9:05 ` ATOI Preben Randhol
  0 siblings, 2 replies; 4+ messages in thread
From: Riccardo Fulcoli @ 2003-07-11  8:39 UTC (permalink / raw)


HI!
I'm having problems reguarding the input/output from files in text mode.
Exactly I would like to read a field as a string of 50 characters(and for
that i'm using the redirection of the input) and after that to convert it in
a number (an integer).
i.e. I'm looking for a function like the C "atoi".
Of course I already know that the content of the field is a numeric one but
the unchecked conversions seems not to be good at the purpose.
Is there someone that could help me???
Thanks ;)

Riccardo





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

end of thread, other threads:[~2003-07-14  1:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11  8:39 ATOI Riccardo Fulcoli
2003-07-12  1:58 ` ATOI Robert I. Eachus
2003-07-14  1:49   ` ATOI Richard Riehle
2003-07-12  9:05 ` ATOI Preben Randhol

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