IsBlank()
ISBLANK() indicates whether a passed expression is blank, as distinguished from empty.
Usage |
lReturnValue = ISBLANK( eExpression ) |
Example |
CREATE TABLE Test (cfld C(3), dfld D, nfld N(3), lfld L) * add a record APPEND BLANK ? ISBLANK(cfld) && returns .T. ? ISBLANK(dfld) && returns .T. ? ISBLANK(nfld) && returns .T. ? ISBLANK(lfld) && returns .T. * now store empty values in it REPLACE cfld WITH "", ; dfld WITH {}, ; nfld WITH 0, ; lfld WITH .f. ? ISBLANK(cfld) && returns .T. ? ISBLANK(dfld) && returns .T. ? ISBLANK(nfld) && returns .F. ? ISBLANK(lfld) && returns .F. |
See Also |