x=ltrim(null) ? ALINES(ax,m.x),len(ax[1])WORKAROUND ( slower down the operation with long strings )
* use IIF(ISNULL(m.x),0,ALINES(ax,m.x))Example where this is necessary ( empty elements on a list have information )
FOR k=1 TO ALINES(ay,'4,,5',',') && 3 elements '4','','5' ? m.k,ay[m.k] NEXT FOR k=1 TO ALINES(ay,'',',') && 1 element * ay[m.k] NEXT FOR k=1 TO ALINES(ay,NULL,',') && none elements * i cannot compute a unknown want NEXT * of course i can workaround this, * but for do this i have to change the data domain to ',...' * and skip the first row empty sentinel with FOR k=2 TO ... * ( but on this case NULL it is not necessary, * and I represent null with the '' string ) * then, i have to corrupt the data model in order to avoid the VFP problemSolution: add a nFlags bit ( 5 ) that fixed this ( return 0 with NULL cExpression )