Re: [xHarbour-developers] Str() function.

2009-04-02 Thread modalsist
miguelan...@marchuet.net escreveu: De: Miguel Angel Marchuet miguelan...@marchuet.net Assunto: Re: [xHarbour-developers] Str() function. Para: Eduardo Fernandes modals...@yahoo.com.br Cc: Ron Pinkas ron.pin...@xharbour.com, Xharbour-Developers List xharbour-developers@lists.sourceforge.net Data

Re: [xHarbour-developers] Str() function.

2009-04-02 Thread Patrick Mast, xHarbour.
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 --

Re: [xHarbour-developers] Str() function.

2009-04-02 Thread Marcelo Lombardo
Patrick, As Ron said, this is intentional. This is a xHB extension like: a := ABCD ? a[2]// prints B, no RT error These are similar extensions because in C, 1 byte char can be read as numeric, as well as a multiple by char can be adressed as array of char. It means you can use C-like

Re: [xHarbour-developers] Str() function.

2009-04-02 Thread Eduardo Fernandes
',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

Re: [xHarbour-developers] Str() function.

2009-04-02 Thread Marcelo Lombardo
Hello, Eduardo IMO, all functions inhirited from Clipper, should at least, behaves like this. That's pretty simple: xHarbour behaves like Clipper AND has a documented extension. It may look useless to you but not to others who are familiar with C. We do not need to have limitation

Re: [xHarbour-developers] Str() function.

2009-04-01 Thread Eduardo Fernandes
: Re: [xHarbour-developers] Str() function. Para: Eduardo Fernandes modals...@yahoo.com.br, Xharbour-Developers List xharbour-developers@lists.sourceforge.net Data: Segunda-feira, 30 de Março de 2009, 23:24 Eduardo, The feature has nothing to do with Str() or StrZero() it's a GENERIC SUPPORT

[xHarbour-developers] Str() function.

2009-03-30 Thread Eduardo Fernandes
Sorry my curiosity, ? str( '1', 3,0) returns 49 = asc code of character 1 ? str( 'a', 3,0) returns 97 = asc code of character a This is intentional or an undocumented issue ? What's the benefit, instead an argument error ? regards, Eduardo Veja quais são os assuntos do momento no

Re: [xHarbour-developers] Str() function.

2009-03-30 Thread Ron Pinkas
To: Xharbour-Developers List xharbour-developers@lists.sourceforge.net Subject: [xHarbour-developers] Str() function. Sorry my curiosity, ? str( '1', 3,0) returns 49 = asc code of character 1 ? str( 'a', 3,0) returns 97 = asc code of character a This is intentional or an undocumented issue

Re: [xHarbour-developers] Str() function.

2009-03-30 Thread Ron Pinkas
, 2009 4:33 PM To: Xharbour-Developers List xharbour-developers@lists.sourceforge.net; Ron Pinkas ron.pin...@xharbour.com Subject: Re: [xHarbour-developers] Str() function. Ron, Sorry, by I don't understand what benefit the users will have with this feature on str/strzero functions