Difference between revisions of "Talk:File Handling In Pascal"

From Lazarus wiki
Jump to navigationJump to search
Line 23: Line 23:
 
What version of PASCAL is this code for ?
 
What version of PASCAL is this code for ?
 
I Use Borland TP7 and I get compilation errors.
 
I Use Borland TP7 and I get compilation errors.
For eg. 'Sysutils' is not recognised, C style comments with // are errors, etc
+
For eg. 'Sysutils' is not recognised, C style comments with // are treated as syntax errors, etc

Revision as of 00:17, 21 September 2015

To Cjaster

Why do you use inttostr(IOResult) in

Writeln('ERROR! IORESULT: '+inttostr(IOResult));

Don't you get the same with the simpler

Writeln('ERROR! IORESULT: ', IOResult);

which has the additional advantage that you do not need "Uses Sysutils;"

I made an according change to the page and you simply reverted it without any comment or even reason. I appreciate the work you are putting to the wiki, but reverting without a comment hurts.

Could you please set up your user page. It would make feedback and discussion easier.

Thanks

MiSchi

which version of Pascal ?

What version of PASCAL is this code for ? I Use Borland TP7 and I get compilation errors. For eg. 'Sysutils' is not recognised, C style comments with // are treated as syntax errors, etc