Subject Re: Outputting to a simple text file
From Mervyn Bick <invalid@invalid.invald>
Date Fri, 20 Jul 2018 23:01:02 +0200
Newsgroups dbase.getting-started

On 2018-07-20 10:41 PM, Matt Milner wrote:
> In 1988 I wrote an interface to a Unix based Plasma cutting machine to cut out air conditioner ductwork parts usind dBase II.  The code I wrote revolved around "Set Printer on" and sending text lines beginning with ? or ??.  When I use that approach with dBase Plus 11, the text file created contains printer code rather than text.  I have hundreds of pages of ? / ?? code.  Is there a simple switch that will give me a file with just lines of text?
>

Assuming that the ? / ?? statements are in text.prg

set alternate to whatever.txt
set alternate on
do text.prg
set alternate off
set alternate to


Mervyn.