Microsoft KB Archive/105112: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
Line 1: Line 1:
{|
{|
|width="100%"|
|width="100%"|
= FIX: @ ... SAY with FONT Clause Returns "Syntax Error" =
= FIX: @ ... SAY with FONT Clause Returns "Syntax Error" =


'''ID: Q105112'''
'''ID: Q105112'''
Line 13: Line 13:
== SYMPTOMS ==
== 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:
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:


<pre>  SET DEVICE TO FILE &lt;path\filename&gt;
<pre>  SET DEVICE TO FILE &lt;path\filename&gt;
   @ 2,2 SAY &quot;TEST&quot; FONT &quot;Roman&quot;, 10
   @ 2,2 SAY "TEST" FONT "Roman", 10
</pre>
</pre>
== CAUSE ==
== CAUSE ==


A &quot;Syntax Error&quot; 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.
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 ==
== STATUS ==

Revision as of 10:08, 20 July 2020

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

ID: Q105112

2.50 WINDOWS kbprg kbfixlist kbbuglist kberrmsg

The information in this article applies to:

  • Microsoft FoxPro for Windows, version 2.5

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
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.