Talk:File Handling In Pascal

From Lazarus wiki
Revision as of 01:16, 21 September 2015 by Derlo (talk | contribs) (→‎which version of Pascal ?: new section)
Jump to navigationJump to search

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 errors, etc