Author Topic: Compiler can't find TPU files  (Read 2973 times)


  • Hero Member
  • *****
  • Posts: 7885
Re: Compiler can't find TPU files
« Reply #15 on: April 21, 2018, 12:26:46 pm »
Rename result with the name of the function they are in. Result is a construct of newer incarnations of the language than TP. Or simple use a more modern mode ({$Mode objFPC} or {$Mode Delphi})
Not necessary. Simply add {$modeswitch result} on top of affected units. I hinted already at some little problems, but the code itself simply works in both 16 and 32 bit Freepascal. I didn't test 64 bit, though. (probably won't work, it is soooo old). {$mode delphi} is also OK it seems. The code is Delphi 2 compatible.
« Last Edit: April 21, 2018, 12:29:14 pm by Thaddy »
Hamlet 1.4 (nothing wrong with the Danish, btw)