RE: [DUG] File handling help in Delphi 5

2007-12-05 Thread John Bird
I thought I had read in the help sometime that file variables could never be used in an array - but it looks like you are doing just that. For instance under File Types: Files are not allowed in arrays or records. If it is OK I also would like to do that as well - any rulings anyone?

Re: [DUG] File handling help in Delphi 5

2007-12-05 Thread Neven MacEwan
Vikas These are very old routines that date back to Pascal, look at TStrings (as suggested) and Streams HTH Neven Hi I am back again. Well i need one help in file handling. May be i sound dump here but i struck up badly at one point here. Ok let me first explain my first situation.

[DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
Hi I am back again. Well i need one help in file handling. May be i sound dump here but i struck up badly at one point here. Ok let me first explain my first situation. I have say 10 files and path is say c:\vikas\file1textupto c:\vikas\file10.text. I am storyng all this in string list ok

Re: [DUG] File handling help in Delphi 5

2007-12-04 Thread Vikas...
Thanks Harris your solution solved my problem On 12/5/07, Kyley Harris [EMAIL PROTECTED] wrote: Your problem is that you are calling readln once before the while loop, without passing the data to lbuff.. this is reading the first line.. I suggest.. scrapping the assign readln method for..