Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!amcad!stech!sysop From: sysop@stech.UUCP (Jan Harrington) Newsgroups: comp.databases Subject: Re: Writing formatted output to file in dBase III+ Message-ID: <702@stech.UUCP> Date: 4 Feb 89 12:25:11 GMT References: <19591@agate.BERKELEY.EDU> Organization: Scholastech, Inc., Waltham, Mass. Lines: 40 in article <19591@agate.BERKELEY.EDU>, steve@violet.berkeley.edu (Steve Goldfield) says: > > In article <626@dsacg1.UUCP> nfs0294@dsacg1.UUCP (Glendell R. Midkiff) writes: > #>From article <403@systime.UUCP>, by staylor@systime.UUCP (Simon Taylor): > #>> Does anyone know how to redirect formatted output generated using @x,y SAY > #>> under dBase III+ rather than to the screen or printer? > #>> > #>I'm not sure if all this is supported by DBASE III+, but in CLIPPER you > #>can use the SET ALTERNATE or SET PRINTER TO and when done > #>close the file by using SET ALTERNATE TO, SET ALTERNATE OFF. > #> > #>-- > #> |-----------------------------------------------------------------------| > #> |Glen Midkiff osu-cis!dsacg1!gmidkiff | > > In McMax, which is supposed to be the same as dBASE III+, my > manual explicitly states that SET ALTERNATE TO FILE won't > work for @,say statements as it did in dBASE II. Indeed, it > seems a strange retrogression in functionality to have > eliminated that option. In my programs, I've had to convert > @,say statements to ? statements to redirect output to a file. I just checked a dBase III+ manual. It says: "SET ALTERNATE records all output OTHER THAN THAT OF FULL-SCREEN COMMANDS to a text file" (upper case mine) Not only are @ commands not recorded, but EDIT and APPEND also are excluded. Bummer... Jan Harrington, sysop Scholastech Telecommunications UUCP: husc6!stech!sysop or allegra!stech!sysop ******************************************************************************** Miscellaneous profundity: "No matter where you go, there you are." Buckaroo Banzai ********************************************************************************