Aaron

This was a great debate topic may suggestion was that a 2.5 char string was
#32#32#16
of course in a Wide string it could be 5 bytes

TTFN

----- Original Message -----
From: Aaron Scott-Boddendijk <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Monday, 9 October 2000 17:03
Subject: Re: [DUG]: Equivelent Function ?


> > VB has a function called "SPACE" which is function that returns a string
based on the number passed.
> > i.e. Space(2) will return 2 spaces (2 x #32)
> > This is fine, you can write a function in Delphi to emulate this,BUT you
can pass a double value...i.e. Space(2.5)
>
> Something like
>     StringOfChar(' ',Trunc(FloatingValue));
> would produce equivelent effects to the MS command
> wouldn't it... You certainly can't return 0.5 of a space in
> a string...
>
> --
> Aaron Scott-Boddendijk
> Intaz
> (07) 838-3371 Voice
> (07) 838-3372 Fax
>
>
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to