I have read the conversation about numerical consideration.
I propose an alternative solution RT error. Eliminating certain RT errors with
pragmas
for example:
# pragma NoTestError = BASE | 1340
not emerge for the 1340 runtime error division by 0 and be the default value 0
course may only be prepared as disabled those functions. PADL, PADR.
or when the key error exceeds 240 characters and thus operate as C/52 instead
of C/53.
# pragma NoTestError = DBFCDX | 1054
[SPANISH]
He leido atentamente la cnversación acerca de la consideración de numéricos.
Propongo una solución alternativa, Eliminar ciertos RT error usando pragmas
por ejemplo
#pragma NoTestError=BASE|1340
para que no emerja el runtime error 1340 division por 0 y resulte el valor por
defecto 0
evidentemente solo podran desactivarse aquellas funciones preparadas como.
PADL, PADR.
o bien el error cuando la key excede los 240 caractereS y asi actue como en
CL52 en lugar de CL53.
#pragma NoTestError=DBFCDX|1054
Best regards,
Miguel Angel Marchuet
Ron Pinkas escribió:
> Eduardo,
>
>> So, we could review all string functions like str(), strzero(), pad(),
>> etc, that call HB_IS_NUMERIC(), HB_IT_NUMERIC or ISNUM() to maintain, at
>> least, expected results or run time error, if any argument is inverted or
>> with any data type changed.
>>
>> f.e.:
>>
>> ? str("a",10,2)
>> ? strzero("b",10)
>> ? padl("9","*",10)
>> ? padr("9","*",10)
>> ? padc("9","*",10)
>
> Please note that it is absolutely VALID CODE to pass a single char as a
> NUMERIC value. I have lot's of such code intentionally. It would therefore
> be wrong to break a documented feature which has been working for years.
>
> Ron
>
>
> ------------------------------------------------------------------------------
> 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
>
> __________ Información de ESET NOD32 Antivirus, versión de la base de firmas
> de virus 4578 (20091106) __________
>
> ESET NOD32 Antivirus ha comprobado este mensaje.
>
> http://www.eset.com
>
>
>
>
__________ Información de ESET NOD32 Antivirus, versión de la base de firmas de
virus 4586 (20091108) __________
ESET NOD32 Antivirus ha comprobado este mensaje.
http://www.eset.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