Re: [fpc-pascal] Odd delimited text file length limitations

2011-07-06 Thread Ko Hashiguchi
Thanks to all of you good people! Believe it or not, my old code was based on help obtained back in May of 1995(!) I had not needed programming help since. I have to think of myself as an amateur scientist using Fortran, not to make applications to sell to users, but just to get answers -- except

Re: [fpc-pascal] Odd delimited text file length limitations

2011-07-06 Thread Jürgen Hestermann
José Mejuto schrieb: Add at beginning {$H+} to switch on ansistrings, otherwise you are using shortstrings which are 255 characters in length at most, and your lines are around 300 chars. Instead of using obscure compiler switches (where you never know for sure the scope and whether they work

Re[2]: [fpc-pascal] Odd delimited text file length limitations

2011-07-06 Thread José Mejuto
Hello FPC-Pascal, Wednesday, July 6, 2011, 8:55:10 AM, you wrote: KH> Attached you will find the Free Pascal program (it's a console program and KH> 11KB in size), the file it's supposed to alter, and the file the program is KH> supposed to spit out. Add at beginning {$H+} to switch on ansistrin

Re: [fpc-pascal] Odd delimited text file length limitations

2011-07-06 Thread Bart
Hi Ko, On 7/6/11, Ko Hashiguchi wrote: > The last two values in the rows in VchrtTRN.TXT are not supposed to have > values of 0.0. This is where my problem is: why doesn't the program give me > the expected, non-zero answer? I tried a different approach. Instead of breaking down the InputString

Re: [fpc-pascal] Odd delimited text file length limitations

2011-07-05 Thread Bart
Well, show us some example code, and some example files that go wrong, otherwise ti'll be hard to help. Bart On 7/4/11, Ko Hashiguchi wrote: > Sirs (and Madams, as need be), > > I use Free Pascal to compose simple filters: I take in a comma-delimited > ASCII file, work the data, and spit back ou

[fpc-pascal] Odd delimited text file length limitations

2011-07-04 Thread Ko Hashiguchi
Sirs (and Madams, as need be), I use Free Pascal to compose simple filters: I take in a comma-delimited ASCII file, work the data, and spit back out the altered info. I'm having a problem in that my program does not seem to be reading all of the ASCII files. The files are mostly double-precision