comp.lang.ada
 help / color / mirror / Atom feed
From: "Matt" <matt.brewster@btinternet.com>
Subject: Loading an array from a text file....
Date: 2000/03/18
Date: 2000-03-18T00:00:00+00:00	[thread overview]
Message-ID: <8b0kre$p9j$1@neptunium.btinternet.com> (raw)

Yo.
Having a bit of trouble with Ada at the moment. I am trying to write a
database for a university coursework kinda-thingy, but have hit a brick
wall!
The idea is thus: When my program first runs, it loads from a text file a
list of students, the courses & units they are on, results etc and stores
the strings into an array of records.
However, during my program, the text file will be changed (For example, if
another student is added or results are changed) and I will want to re-load
the array from the 'new' txt file. I can't do this as a function, becasue i
don't want any result, I just want it to perform a few lines of code. I
could really just re-write the code at various points in the program, but i
don't want the main program to be too 'busy' - bearing in mind this has to
be moderated!
Any feedback appreciated.
Regards,
Matt






             reply	other threads:[~2000-03-18  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-18  0:00 Matt [this message]
2000-03-19  0:00 ` Loading an array from a text file Marin D. Condic
replies disabled

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