[fpc-pascal]ansistring and fillchar

2003-12-09 Thread Mark Emerson
How can I use fillchar to give an ansistring a value of, say 'x'? In other words, I want to create a string that contains only a single character, that is repeated a certain number of times. Mark ___ fpc-pascal maillist - [EMAIL PROTECTED]

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

2003-12-09 Thread baron kractor
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 fa

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

2003-12-09 Thread Balogh, Karoly (Charlie/iNQ)
Hi, On 03.12.10., baron kractor wrote: > 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