Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!agate!violet.berkeley.edu!steve From: steve@violet.berkeley.edu (Steve Goldfield) Newsgroups: comp.databases Subject: Re: Writing formatted output to file in dBase III+ Message-ID: <19591@agate.BERKELEY.EDU> Date: 27 Jan 89 21:25:10 GMT References: <403@systime.UUCP> <626@dsacg1.UUCP> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 21 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. Steve Goldfield