Article ID: 155938
Article Last Modified on 12/14/1999
SET PRINTER TO Test.txt SET PRINTER ON ?? 'Hello world' ?? 'This is a test' SET PRINTER TO SET PRINTER OFFAlso, the SET ALTERNATE command produces a text file. The following code creates a file using the SET ALTERNATE command:
SET ALTERNATE TO Test.txt SET ALTERNATE ON ?? 'Hello' ?? 'This is a test' SET ALTERNATE OFF SET ALTERNATE TOAccording to the Visual FoxPro Help file, the SET ALTERNATE command functions only with single and double question marks, and the DISPLAY and LIST commands.
SET PRINTER TO Test.txt ??? 'Hello World' ??? 'This is a test' SET PRINTER TOThe above code does not create a text file when executed under Visual FoxPro for Macintosh. However, the code creates a file on the Windows, MS-DOS, and Macintosh versions of FoxPro 2.x, and Visual FoxPro 3.0 and 5.0 for Windows.
SET PRINTER TO Test.txt SET PRINTER ON ??? 'Hello World' ??? 'This is a test' SET PRINTER OFF SET PRINTER TO
Additional query words: kbdsd vfoxmac
Keywords: KB155938