help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

flex input and output


From: Andrew Robertson
Subject: flex input and output
Date: Thu, 29 Nov 2001 12:12:45 +1000 (EST)

Hi i have a simple question that I hope someon can answer:

I want to analyse input from a file and if it contains a certain text
string output it to a different file.  I think I've worked it all out
except for writing to the output file. I know I should be using
yyiput=file(where I have used the correct fopen construct) but I don't
know what to do with the output. I've read that you could redefine yyout
in the definition section but I haven't come across any examples. Any help
would be appreciated.

Cheers,
Andrew

*******************************************************************************
Email: address@hidden
Office: TG135
Phone: 6905
*******************************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]