reading in a file
i have a file - which on each line has some data i need to fill into a
box - now although reading in the data is simple enough and putting it
in the correct box will be no problem, as i can just read a lilne then
put into the corresponding box...it just seems like a task i should be
able to complete in a few lines...rather than quite a few commands.
for example what i do at the moment is:
read a line
place into first text box
read a line
place into second text box
etc...
is there an smaller version of this? I am kind of feeling there should
be something like:
while there are more lines:
read a line
place into corresponding text box.
any ideas on what i should do?
Thanks in advance!
.
Relevant Pages
- Re: genY has no interest in hi-tech careers
... Engels), the Satanic Bible, the Anarchist Cookbook, etc ... ... I have a notion that Satanic/Satanists followers (based on a wee bit of reading) or a few of them anyway have found something to "believe in" because they need it and are not at all satisfied with mainstream religion. ... fed into my own clinical depression and viewpoints about life. ... My two favorite undergraduate subjects were: calculus and psychology (which helped me understand how human beings 'ticked' but I had the feeling that most students just learned for the exams while I was looking at the knowledge to figure out why my species is so screwed up. ... (sci.research.careers) - Re: I made it through day 1 and starting on day 2 with a 90 fbg
... Glad to hear you are feeling well enough to start slaying that BG dragon! ... Although you forgot one reading yesterday, ... Jim eats in the dining ... They have really good food! ... (alt.support.diabetes) - Re: Reading Files Byte-For-Byte
... >> attempting to read the file into an array. ... to be slower due simply to the additional commands required to accomplish ... I think the misunderstanding came about due to your mentioning reading the ... of printable characters, you'll need to do something else if your file data falls ... (microsoft.public.vb.general.discussion) - Re: Sement fault
... > %someletter that many put after the commands? ... have to download/install the source code and wander through it looking ... or reading the code to find out what it does. ... Open standards. ... (alt.os.linux.suse) - Re: lpr: printer: unknown printer
... request id is printer-5 ) ... Which of the lovely manuals should I be reading? ... Rephrased - I don't remember where I learned that lp and lpr take ... their own similar commands and CUPS for maximum compatibility tried to ... (Ubuntu) |
|