Commands and Functions Affected by SET COMPATIBLE (114752)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft FoxPro for Windows 2.5
  • Microsoft FoxPro for Windows 2.5a
  • Microsoft FoxPro for Windows 2.5b
  • Microsoft FoxPro for Windows 2.6
  • Microsoft FoxPro for MS-DOS 2.5
  • Microsoft FoxPro for MS-DOS 2.5a
  • Microsoft FoxPro for MS-DOS 2.5b
  • Microsoft FoxPro for MS-DOS 2.6

This article was previously published under Q114752

SUMMARY

The commands and functions listed in this article are affected by the SET COMPATIBLE command.

MORE INFORMATION

Affected in FoxPro 2.5, 2.5a, 2.5b, and 2.6

All file-processing commands with a drive reference (for example, SET DEFAULT TO c:\foxprow\tutorial).
   @ ... GET with a RANGE clause
   @ ... SAY with CHR(7)
   @ ... SAY scrolling
   @ ... SAY when STATUS is ON
   ACTIVATE SCREEN
   ACTIVATE WINDOW
   APPEND MEMO
   DECLARE
   DIMENSION
   GO | GOTO with SET TALK ON
   INKEY( )
   LASTKEY( )
   LIKE( )
   MENU and POPUP commands
   PLAY MACRO
   READ with an @ ... GET VALID clause
   READ with a numeric PICTURE clause
   READ-Nested READs
   RUN | !
   SET COLOR TO
   SET FIELDS
   SET MESSAGE
   SET PRINT TO <file>
   STORE
   SUM
   TRANSFORM( ) with a numeric PICTURE clause
   SELECT( )
   SYS(2001, "COLOR")
				

Affected in FoxPro 2.6 Only

   FSIZE( )
   SET("BORDER")
				
For a full description of how each of these commands and functions are affected, see SET COMPATIBLE in the FoxPro "Language Reference."

Affected in Visual FoxPro 3.0

According to the Microsoft Visual FoxPro Help, the following commands and functions are affected by SET COMPATIBLE:
   @ ... GET with a RANGE clause
   @ ... SAY with CHR(7)
   @ ... SAY scrolling
   @ ... SAY when STATUS is ON
   ACTIVATE SCREEN
   ACTIVATE WINDOW
   APPEND MEMO
   DECLARE
   DIMENSION
   GO | GOTO with SET TALK ON
   FSIZE( )
   INKEY( )
   LASTKEY( )
   LIKE( )
   READ with an @ ... GET VALID clause
   Nested READs
   READ
   RUN | !
   SET COLOR TO
   SET BORDER
   SET FIELDS
   SET MESSAGE
   SET MEMOWIDTH
   SET PRINTER TO <file>
   STORE
   SUM
   TRANSFORM( ) with a numeric PICTURE clause
   SELECT( )
   SYS(2001, "COLOR")
				
Menu commands
   PLAY MACRO
				

REFERENCES

FoxPro online Help file, "Compatibility" topic

Modification Type:MajorLast Reviewed:12/3/2003
Keywords:KB114752