Hi,
Inadvertently I inverted the second and third parameter on padL() and the
result is not an empty string, as expected.
The same in PadR() and PadC().
obs: Last cvs + PellesC 6.x + Vista
regards,
Eduardo
----------------------
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)
____________________________________________________________________________________
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers