Enrico,

So, it is a old discussion about this **feature** that change the expected 
results on string functions as str(), pad(), etc.

I don't see any benefit on it.

regards,
Eduardo




--- Em qua, 4/11/09, Enrico Maria Giordano <e.m.giord...@emagsoftware.it> 
escreveu:

> De: Enrico Maria Giordano <e.m.giord...@emagsoftware.it>
> Assunto: Re: [xHarbour-developers] Bug on Pad functions.
> Para: "Eduardo Fernandes" <modals...@yahoo.com.br>, "Xharbour-Developers 
> List" <xharbour-developers@lists.sourceforge.net>
> Data: Quarta-feira, 4 de Novembro de 2009, 10:56
> 
> -----Messaggio Originale----- 
> Da: "Eduardo Fernandes" <modals...@yahoo.com.br>
> A: "Xharbour-Developers List" <xharbour-developers@lists.sourceforge.net>
> Data invio: mercoledì 4 novembre 2009 13.22
> Oggetto: [xHarbour-developers] Bug on Pad functions.
> 
> 
> > ----------------------
> > proc main
> >
> > local cStr := "9"
> > local nLen := 10
> > local cPad := "*"
> >
> > ? padL(cStr,nLen,cPad)
> > ? padR(cStr,nLen,cPad)
> > ? padC(cStr,nLen,cPad)
> > ?
> > ? padL(cStr,cPad,nLen)
> > ? padR(cStr,cPad,nLen)
> > ? padC(cStr,cPad,nLen)
> 
> The "problem" is that cPad is converted to its character
> code (ie. 42).
> 
> EMG
> 
> --
> EMAG Software Homepage:     http://www.emagsoftware.it
> The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
> The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
> The EMG Music page:     
>    http://www.emagsoftware.it/emgmusic 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and
> deployment - and focus on 
> what you do best, core application coding. Discover what's
> new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> xHarbour-developers mailing list
> xHarbour-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
> 


      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to