Page 1 of 1

ALLTRIM

PostPosted: Thu Aug 13, 2009 12:44 pm
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

Re: ALLTRIM

PostPosted: Fri Aug 14, 2009 9:27 am
by Enrico Maria Giordano
Otto wrote:Should ALLTRIM delete ASC 10 + ASC 13, too.


No.

EMG

Re: ALLTRIM

PostPosted: Fri Aug 14, 2009 3:24 pm
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

Re: ALLTRIM

PostPosted: Fri Aug 14, 2009 3:38 pm
by Otto
Hello Manuel, hello Enrico,
thank you for your help.
Best regards,
Otto

Re: ALLTRIM

PostPosted: Fri Aug 14, 2009 8:49 pm
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