comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent <daemon2@internet.lu>
Subject: Reading data from file
Date: Tue, 4 Mar 2014 01:46:29 -0800 (PST)
Date: 2014-03-04T01:46:29-08:00	[thread overview]
Message-ID: <a8343425-3e25-4592-a5f5-5395f4a70221@googlegroups.com> (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


             reply	other threads:[~2014-03-04  9:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  9:46 Laurent [this message]
2014-03-04 16:17 ` Reading data from file 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
replies disabled

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