FIX: @ ... SAY with FONT Clause Returns "Syntax Error"

ID: Q105112

2.50 WINDOWS kbprg kbfixlist kbbuglist kberrmsg

The information in this article applies to:

SYMPTOMS

The following @ ... SAY command will return a "Syntax Error" when the the following commands are issued either in the FoxPro Command window or in a program:

   SET DEVICE TO FILE <path\filename>
   @ 2,2 SAY "TEST" FONT "Roman", 10

CAUSE

A "Syntax Error" will be returned if an @ ... SAY command with a FONT clause follows a SET DEVICE TO FILE or SET DEVICE TO PRINTER command. However, there is no problem if the @ ... SAY command does not have a FONT clause.

STATUS

Microsoft has confirmed this to be a problem in FoxPro 2.5 for Windows. This problem was corrected in FoxPro 2.5a for Windows.

Additional reference words: FoxWin 2.50 buglist2.50 fixlist2.50a errmsg err msg KBCategory: kbprg kbfixlist kbbuglist kberrmsg KBSubcategory: FxprgGeneral Solution Type : kbfix

Last Reviewed: October 14, 1997