[fpc-pascal] String to PString assignment?

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Sep 29 15:08:33 CEST 2009


2009/9/29 Marco van de Voort <marcov at stack.nl>:
>
> If you want to ansistringify, assume that pstring as a whole is ansistring,
> and remove all pointers and let ansistrings automatic maintenance work.

Thanks Marco. That's what I did. I read bit more about PString and it
seems pretty safe for me to simply replace it with AnsiString. So far
so good.


> Don't ever include objects and sysutils in the same unit.

Good to know. I'm converting all Objects types to Class types too.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-pascal mailing list