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.
>
> Mike
>
> --------------------------------------------------------------------
> 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.
> --------------------------------------------------------------------
--
GeoCities Operations
_____________________________________
--------------------------------------------------------------------
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.
--------------------------------------------------------------------