Difference between revisions of "Talk:File Handling In Pascal"
From Lazarus wiki
Jump to navigationJump to search (use of inttostr) |
(→which version of Pascal ?: new section) |
||
Line 18: | Line 18: | ||
MiSchi | 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 |
Revision as of 01:16, 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 errors, etc