Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: STR() not support correctly null variables
Message
De
16/05/2003 05:08:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
BUG: STR() not support correctly null variables
Divers
Thread ID:
00789137
Message ID:
00789137
Vues:
52
Hi

x=NULL
? STR(null)

OK : STR return NULL
BUG : NULL type is not "C"; LTRIM(),RTRIM()... return NULL "C" type correclty

? STR(x)

BUG: STR return error type

For VFP Team: solution

your internal code is:
if (parameterType#'C')
Error;
if (parameterValue=NULL)
return parameterValue;

correct is ( LTRIM .. RTRIM uses this schema ):
if (parameterValue=NULL)
return charsNullvalue;
if (parameterType#'C')
Error;


Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform