comp.lang.ada
 help / color / mirror / Atom feed
* Reading data from file
@ 2014-03-04  9:46 Laurent
  2014-03-04 16:17 ` adambeneschan
  2014-03-04 18:08 ` Mike H
  0 siblings, 2 replies; 20+ messages in thread
From: Laurent @ 2014-03-04  9:46 UTC (permalink / raw)


Hi

Still trying to solve an exercise. I am supposed to develop a procedure which reads the data from a txt file. My first try fails because I get an error on reading an enumeration. Unfortunately I have no idea why. 

Txt file: 

ID: 1234
Name: test
Gender: male <== reading fails with atio_enumio error
Numdepend: 1
Salary: 200.0
StartDate: 12 feb 2013

Writing this from my smartphone so I don't have a lot info available.

The EOL character: do I have to take care of those or are they automatically skipped by atio/ aitio. Get?

Or I have to check if the Name is read correctly and doesn't interfer with the enum.

Or are there more detailed examples in the ARM? 

Thanks

Laurent


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

end of thread, other threads:[~2014-03-11 20:54 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04  9:46 Reading data from file Laurent
2014-03-04 16:17 ` adambeneschan
2014-03-04 18:08 ` Mike H
2014-03-04 21:27   ` Laurent
2014-03-04 21:35     ` Laurent
2014-03-04 21:42     ` Niklas Holsti
2014-03-05 13:59     ` Mike H
2014-03-05 20:33       ` Laurent
2014-03-05 21:00         ` Jeffrey Carter
2014-03-05 21:13           ` Laurent
2014-03-05 21:25             ` Niklas Holsti
2014-03-05 21:56               ` Laurent
2014-03-06  8:35                 ` Dmitry A. Kazakov
2014-03-07 21:55                   ` Laurent
2014-03-08  6:56                     ` Dmitry A. Kazakov
2014-03-08 21:21                       ` Laurent
2014-03-09 22:39                         ` Laurent
2014-03-10  2:42                           ` Jeffrey Carter
2014-03-11 20:54                             ` Laurent
2014-03-08  9:00                     ` Simon Wright

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