Hi Rossine, No. This behavior is compatible with the Clipper. Try this:
? VAL ('10x ') ? VAL ('1 x0 ') ? VAL ('x55') ? Regards, Vailton Renato 2010/4/7 Rossine <qii...@ig.com.br>: > > Hello, > > See this sample: > > [CODE] > > function MAIN > > local cVar := "10x" > > ? val(cVar) && This return Numeric 10. The correct would not be ZERO ? > > [ENDCODE] > > Regards, > > Rossine. > > -- > View this message in context: > http://old.nabble.com/Is-this-correct---tp28165317p28165317.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour