On Tue, 9 Dec 2003, Mark Emerson wrote:

> How can I use fillchar to give an ansistring a value of, say
> 'xxxxxxxxx'?  In other words, I want to create a string that contains
> only a single character, that is repeated a certain number of times.

Use

S:=StringOfChar('X',30);

Michael.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to