> 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"

Reply via email to