It is not always possible to maintain compatibility with the old clipper.
Extending xHarbour is preferable. But of course if it is an appropriate use
of Str should encounter no problem.

Str works as expected actually. simply the expected is not the same as clipper.

But, I think can be able to add under HB_C52_STRICT only, but you lost other extensions.

Best regards,
Miguel Angel Marchuet

Eduardo Fernandes escribió:
Ron,
Ron,

OK, since this has nothing to do with str/strzero, I can fix these functions to return error base if the arguments are not numbers, like Clipper ?

regards,
Eduardo


--- Em seg, 30/3/09, Ron Pinkas <[email protected]> escreveu:

  
De: Ron Pinkas <[email protected]>
Assunto: Re: [xHarbour-developers] Str() function.
Para: "Eduardo Fernandes" <[email protected]>, "Xharbour-Developers List" <[email protected]>
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. You can use a CHAR type as NUMERIC in
every context that numeric is supported.

Ron

--------------------------------------------------
From: "Eduardo Fernandes" <[email protected]>
Sent: Monday, March 30, 2009 4:33 PM
To: "Xharbour-Developers List" <[email protected]>;
"Ron Pinkas" <[email protected]>
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. This
is not Clipper compliant and return unexpected results.
    
regards,
Eduardo


--- Em seg, 30/3/09, Ron Pinkas <[email protected]>
      
escreveu:
    
De: Ron Pinkas <[email protected]>
Assunto: Re: [xHarbour-developers] Str()
        
function.
    
Para: "Eduardo Fernandes" <[email protected]>,
        
"Xharbour-Developers List" <[email protected]>
    
Data: Segunda-feira, 30 de Março de 2009, 19:45
Eduardo,

This is a documented intentional feature. Every
        
STRING of
    
ONE CHARACTER is
NUMERIC COMPATIBLE, as per xHarbour support of a
        
CHAR sub
    
type.

Ron

        

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

      


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

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

__________ Información de ESET Smart Security, versión de la base de firmas de virus 3981 (20090401) __________

ESET Smart Security ha comprobado este mensaje.

http://www.eset.com




  
------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to