Skip to content

EMPTY ​

Returns logical .T. if expression is empty, .F. if expression is not empty.

Reporting Area(s) ​

General

Required Parameters ​

  1. Expression to test (i.e. nmsource, pydate, rffee)

Optional Parameters ​

None

Example(s) ​

EMPTY(nmsource) returns .T. if name source code is empty

!EMPTY(pydate) returns .T. if pay date is NOT empty

Notes ​

Standard FoxPro Function

If an exclamation point (!) is placed in front (i.e. !empty()), returns .T. if expression is NOT empty.