comp.lang.ada
 help / color / mirror / Atom feed
* Loading an array from a text file....
@ 2000-03-18  0:00 Matt
  2000-03-19  0:00 ` Marin D. Condic
  0 siblings, 1 reply; 2+ messages in thread
From: Matt @ 2000-03-18  0:00 UTC (permalink / 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






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

end of thread, other threads:[~2000-03-19  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-18  0:00 Loading an array from a text file Matt
2000-03-19  0:00 ` Marin D. Condic

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