CLOSE ALL is a kitchen sink command. It closes databases, tables and their indexes, and any files opened via the Low-level File Functions. It also closes certain system windows, but not user-defined windows. It closes alternate files, format files, procedure files and class libraries. Basically, it does everything the individual CLOSE commands do, plus a little more.
CLOSE ALLUSE MyTable IN 0
OPEN DATA TasTrade
CLOSE ALLClose Alternate, Close Databases, Close Format, Close Indexes, Close Procedure, Close Tables, Deactivate Window, Release Classlib, Use