Using WRITE() on 5.0 - running on Linux

Kenneth Brody kenbrody at spamcop.net
Thu Jun 25 18:16:01 PDT 2009


Nancy Palmquist wrote:
[...]
> Good suggestion.  My clearing of the variable ofile was to insure that I 
> got past the logic that assigned the next output filename before I 
> processed the end tags.  It eased my mind that it was not somehow 
> running the @wbrk2 without running any detail section.

I'm not sure why you close the file every time, and then reopen it.

Where does ofile get set?  If @wbrk2 is hit when ofile is not empty, you 
will write another line to the file.  Yes, I see that @wbrk2 clears it, but 
you don't show how it gets set in the first place.

-- 
Kenneth Brody


More information about the Filepro-list mailing list