ALLTRIM

Post Reply
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 100 times
Been thanked: 91 times
Contact:

ALLTRIM

Post by Otto »

Should ALLTRIM delete ASC 10 + ASC 13, too.
If yes I think in Harbour for PPC this might not be the case.
Thanks in advance
Otto
User avatar
Enrico Maria Giordano
Posts: 9053
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 43 times
Contact:

Re: ALLTRIM

Post by Enrico Maria Giordano »

Otto wrote:Should ALLTRIM delete ASC 10 + ASC 13, too.


No.

EMG
User avatar
mmercado
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: ALLTRIM

Post by mmercado »

Hello Otto:
Otto wrote:Should ALLTRIM delete ASC 10 + ASC 13, too.
If yes I think in Harbour for PPC this might not be the case.
Clipper, xHarbour and Harbour_ce give same results:

?Len(AllTrim( "123"+CRLF)) //returns 5
?Len(AllTrim( " "+CRLF)) // returns 0

Best regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 100 times
Been thanked: 91 times
Contact:

Re: ALLTRIM

Post by Otto »

Hello Manuel, hello Enrico,
thank you for your help.
Best regards,
Otto
User avatar
Enrico Maria Giordano
Posts: 9053
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 43 times
Contact:

Re: ALLTRIM

Post by Enrico Maria Giordano »

mmercado wrote:?Len(AllTrim( " "+CRLF)) // returns 0


I wasn't aware of such behavior. It looks more like a Clipper bug, inherited from [x]Harbour, to me.

EMG
Post Reply