Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-21 Thread Jonas Maebe
James Richters wrote: > I have a freepascal Windows console application that I recently ported > over from DOS Turbo Pascal. I am have a small settings file that I > write to disk that keeps getting corrupted. It happens only > occasionally, but it’s always this one file, no others.Do I need

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-21 Thread Tomas Hajny
On Tue, February 21, 2017 22:12, James Richters wrote: Hello James, > I have a freepascal Windows console application that I recently ported > over from DOS Turbo Pascal. I am have a small settings file that I write > to disk that keeps getting corrupted. It happens only occasionally, but > i

[fpc-pascal] FreePascal Windows - Force files to write to disk

2017-02-21 Thread James Richters
I have a freepascal Windows console application that I recently ported over from DOS Turbo Pascal. I am have a small settings file that I write to disk that keeps getting corrupted. It happens only occasionally, but it’s always this one file, no others.Do I need to do something specific t

[fpc-pascal] pyacc and using hexadecimals in the code

2017-02-21 Thread Darius Blaszyk
Hi all, I would like to use hexadecimal values in a pyacc script. However, when doing so pyacc thinks I am using a rule assign (or whatever the correct term is) eg $$ := $1 as opposed to writeln(yyoutput, $76);. Is this a shortcoming of pyacc, or do I need to escape the dollar sign in a specific