1. Making Include files

HI,

I am trying to use a procedure that I wrote as an include file but am having
problems. I have saved it with a .e extension and placed it in the include
directory. The procedure uses video_config() so it won't work unless
graphics.e is present. I tried to include ghraphics.e within the procedure
but it doesn't work.
Any suggestions?

Thank you,
David S.

new topic     » topic index » view message » categorize

2. Re: Making Include files

On Friday 24 August 2001 19:28, dstanger at belco.bc.ca wrote:

> I am trying to use a procedure that I wrote as an include file but am
> having problems. I have saved it with a .e extension and placed it in the
> include directory. The procedure uses video_config() so it won't work
> unless graphics.e is present. I tried to include ghraphics.e within the
> procedure but it doesn't work.
> Any suggestions?

includes can't be inside a procedure or function. It's generall best to put 
them at the very top of the file.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu