& Command Example in Lang. Ref. Causes "Syntax Error"

ID: Q95236

The information in this article applies to:

The last line of the & command example on page L3-10 of the "Language Reference" manual results in a "Syntax error."

The example on page L3-10 appears as follows:

   STORE SET('TALK') TO savetalk
   SET TALK OFF
   *
   * Additional program code
   *
   SET TALK TO &savetalk   && Restore original TALK setting

The last line of this program contains incorrect syntax. The SET TALK command does not contain the word "TO." The command is either

   SET TALK ON

or:

   SET TALK OFF

The sample program above should read:

   SET TALK &savetalk   && Restore original TALK setting

Additional reference words: FoxDos FoxWin 2.50 2.50a KBCategory: kbprg KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995