SELECT( ) Function Example

CLOSE DATABASES
SET COMPATIBLE ON
OPEN DATABASE (HOME(2) + 'data\testdata')

SELECT 0  && Unused work area
USE customer  && Opens Customer table

SELECT 0  && Unused work area
USE orders  && Opens Orders table

CLEAR
? SELECT( )  && Returns 3, lowest available work area