Patrick, 

IMO, all functions inhirited from Clipper, should at least, behaves like this. 

For example: 

Val(1) returns an error/base, as expected.  
If str('1',2) extension is very important, so hb_str() should be created, 
instead implement it in str().  

I would like know what use of str('1',2) in real application. 

regards,
Eduardo


--- Em qui, 2/4/09, Patrick Mast, xHarbour. <patrick.m...@xharbour.com> 
escreveu:

> De: Patrick Mast, xHarbour. <patrick.m...@xharbour.com>
> Assunto: Re: [xHarbour-developers] Str() function.
> Para: "xHarbour Developers Mailing List" 
> <xharbour-developers@lists.sourceforge.net>
> Data: Quinta-feira, 2 de Abril de 2009, 8:39
> Hello,
> 
> > I would like error/base instead these results:
> >
> > ? str('1')     // null char
> > ? str('1',0)   //         49
> > ? str('1',1)   // *
> > ? str('1',2)   // 49
> 
> I agree. Str("a",1,0) should produce an error.
> 
> Patrick
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> 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

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to