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/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to