Mail Archives: djgpp/1997/04/09/06:37:44
On Tue, 8 Apr 1997, David McKee wrote:
> close bpFile #--/ Close Boiler Plate !!! HERE IS WHERE GAWK DIES.
Please in future always describe what exactly does Gawk (or any other
program) print; ``GAWK DIES'' is very emotionally-charged, but its
information content is exceedingly low.
The problem is that the correct way to close a file is this:
close(bpFile)
Without parentheses, Gawk complains about ``parse error'', at least on
my machine. I don't know how does Nawk digest the form without the
parens, but I do know that Gawk is very POSIX-compliant, so I think
Nawk will probably also accept the parenthesized form.
- Raw text -