i was just wondering if anyone could give some clarification on keywords for storing an array of records in a file in psuedocode. i know how its done in VB and realise that there probably isnt one set way of doing it in psudocode but what would be acceptable?
for a set of 1-20 records, would something like the following be accpetable?
and then what about reading, say, a specific record from a file into an array?
in reality i know its slightly more complex than this but is that sufficent?
for a set of 1-20 records, would something like the following be accpetable?
Code:
index = 1
OPEN filename as random
while index <=20
store record(index)
index = index + 1
end while
CLOSE filename
Code:
index = 1
OPEN filename as random
load record(index)
CLOSE filename