The problem is the left side, not the right side of the if-test. The
compiler does not like the redirection. My C is too rusty to figure out
how to "re-engineer" the pointer format to make it work.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of alex
> Sent: Sunday, January 03, 1999 3:14 AM
> To: [EMAIL PROTECTED]
> Subject: [analog-help] Re:
>
>
> try:
> if (op -> outopts.outstyle == HTML)
>
> (without your quotation marks). HTML is defined in analhea2.h along
> with ASCII and OUT_NONE.
>
>
> alex
>
> Mike Avila wrote:
> >
> > A few days ago I sent this request for help to the author but have not
> > received a response yet. He is probably still in the moving process or
> > maybe analog-author is not working. Is there anybody who has seen the
> > source code for analog.c that can help me? It is at the end
> of analog.c
> > that I am trying to add the following code.
> >
> > Thanks.
> >
> >
> -----------------------------------------------------------------
> ----------
> > ------
> >
> > I am having a problem trying to get compare to the output type so I can
> > know whether or not to execute the module I created. Would
> you please help
> > me by providing the correct code to check the output type for HTML.
> >
> > /*@@@@@ Modification by Avila */
> > if (op -> outopts.outstyle == "HTML") <<<<<<<<<<<<<<<<<<<<<<<<<<
> > {
> > if (rebuild == TRUE)
> > {
> > rebuild_files();
> > }
> > }
> > /*@@@@@ End of Modification */
> > my_exit(EXIT_SUCCESS);
> > return(EXIT_SUCCESS); /* just to stop compiler complaining */
> >
> > Thanks. I appreciate the help. I cannot figure this one out
> by myself.
--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------