Returns the names of the Visual FoxPro and Visual Studio directories.
Specifies that HOME( ) returns the name of a specific Visual FoxPro or Visual Studio directory. Omitting nLocation is identical to HOME(0).
The following table lists the values for nLocation and the directory that HOME( ) returns. The directories listed below assume that you chose the default installation directory when you installed Visual FoxPro or Visual Studio.
0 or omitted
The directory from which Visual FoxPro was started
The directory in which Visual FoxPro is installed
The directory containing the Visual FoxPro samples. This directory is identical to the samples directory in the _SAMPLES system variable.
Visual Studio Common directory
Visual FoxPro Graphics directory
Visual Studio MSDN directory
Visual Studio Tools directory
Visual FoxPro subdirectory in the user's Visual FoxPro Application Data directory
Visual FoxPro Projects subdirectory in the user's Visual FoxPro My Documents directory. This directory is the default location for new projects and files created by Visual FoxPro.