[fpc-pascal]longint -> Pchar / string / ansistring

baron kractor baron.kractor at cogeco.ca
Wed Dec 10 04:08:14 CET 2003

Is there a (hopefully easy) way to convert a longint variable to either
Pchar / string / ansistring without changing the contents of the variable?
For example, longint variable containing "12345" converted to one of the
string types would still print as "12345".  Closest I've been able to get so
far results in the converted variable being printed as some strange
characters ...

More information about the fpc-pascal mailing list