LOCAL lcAlias lcAlias = ALIAS() *--Do stuff * Now restore the work area IF NOT EMPTY(lcAlias) SELECT (lcAlias) ELSE SELECT 0 ENDIFinstead of this:
LOCAL lnSelect lnSelect = SELECT() *--Do stuff * Now restore the work area SELECT (lnSelect)The second method seems much cleaner and simpler than the first, and yet I see the first one used frequently (which I change whenever possible to the second) ... is there any performance issue or is this just your personal preference?