Specifies the code page for compiled programs.
Syntax
SET CPCOMPILE TO [nCodePage]
Arguments
nCodePage
Specifies the compilation code page with nCodePage.
For additional information on code pages and Visual FoxPro's international support, see Code Pages Supported by Visual FoxPro in Chapter 18, Developing International Applications, in the Programmer's Guide.
Issue SET CPCOMPILE TO without nCodePage to reset the compilation code page to the current code page. Use CPCURRENT( ) to determine the current code page.
Remarks
Use SET CPCOMPILE to compile programs for a specific code page. The code page you specify with SET CPCOMPILE is used for programs compiled automatically by Visual FoxPro, programs compiled from the Compile dialog, and programs compiled with the COMPILE command. However, you can include the AS clause in the COMPILE command to override the code page you specify with SET CPCOMPILE.