[fpc-pascal] Is it possible to redefine FreePascal types?

Graeme Geldenhuys graeme at geldenhuys.co.uk
Thu Nov 22 00:34:16 CET 2012


On 2012-11-21 19:49, Kenneth Cochran wrote:
> 
> Any function that accepts newString as a parameter will cause a compilation
> error if you try to pass a normal string. You'll have to cast it to
> newString first.


That is an incorrect assumptions. The compiler will happily accept both
types without needing typecasting.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the fpc-pascal mailing list