Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET CPCOMPILE and COMPILE command
Message
From
18/08/2003 07:01:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SET CPCOMPILE and COMPILE command
Miscellaneous
Thread ID:
00820968
Message ID:
00820968
Views:
60
I am trying to use SET CPCOMPILE and COMPILE command to preserve characters used in my .PRG files in code page which I want, and in this case it's code page 1252 (default Windows).
I have tried to do:

SET CPCOMPILE TO 1252
COMPILE my.PRG AS 1252
<\pre>
but when I change code page in Windows XP (language in Regional and Language options) the characters in .PRG that I have compiled in 1252 are also changed to characters from code page to which I have changed.
SET CPCOMPILE and COMPILE command didn't preserve the characters from code page 1252.

How can I preserve them in code page I want, without affecting them changing code page in Windows?
Next
Reply
Map
View

Click here to load this message in the networking platform