James Richters <james.richt...@productionautomation.net> schrieb am Do., 29. Apr. 2021, 10:33:
> I get Error: Identifier not found “Try” > > Because my unit must be compiled with {$MODE TP} > You can try to use {$modeswitch exceptions}, I think. Otherwise quite a few procedures and functions won’t even compile that only > work in Turbo Pascal mode. > > > > I guess I can put it in another unit and make a call to that… then I can > use Try > Considering that you're using Object Pascal functionality with TIniFile it might be best to put that into a separate unit. Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal