General information
Title:
BUG: STR() not support correctly null variables
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only