Jeremy

a transcript from a VB immediate window "session":

    ? "X" & space(2) & "X"
    X  X
    ? "X" & space(2.5) & "X"
    X  X
    ?space(2) = space(2.5)
    True


I think you are mistaken about the "half" space.   VB takes the variant
you pass to space and coerces it into an integer and returns a string
of that many spaces.

Kind of disappointing - I like your version much better <g>

Ns



-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Monday, October 09, 2000 06:00
Subject: RE: [DUG]: Equivelent Function ?


>Well, the VB Code I am converting to Delphi, says Space(2.5)...and when you
check it in the imediate window at debug time, it seems as if it DOES return
2.5 x space chars !!
>weired....agh...in hind-sight....I might just make it 3...what the hell
diff. will 1/2 a char make !!!
>Stupid VB.....
>
>Cheers, Jeremy Coulter
>
>
>
>
>---------------------------------------------------------------------------
>    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