Hi, need help with this. I have a text file with info in that format:
product1
description stock
product2
description stock
And want to save that values to a record like this:
prod=record
name:string;
des:string;
sto:integer;
end;
forget the "assign" and "reset" part, I got this, I actually need help with the read and write process.
I mean, how to read a line, store the value, and go to the new line that have two space separated values to read!!!
Thanks and Sorry for my english ;)