1. Making include files

Evening all,

How do you makea procedure into an include file? Is it enough to just save
it as [name].e and then insert include [name].e at the top of your program
for the contents to be accessible?

Thanks,
David

new topic     » topic index » view message » categorize

2. Re: Making include files

Well, besides all this things you also have to declare the
routines/variables you're going to use as global.

example:
 global procedure iminsidetheinclude()
   -- your staff
 end procedure

 or 

 global integer qwerty

Best Regards,
    Guillermo BonvehĂ­


--- dstanger at belco.bc.ca wrote:
> 
> 
> Evening all,
> 
> How do you makea procedure into an include file? Is it enough to just
> save
> it as [name].e and then insert include [name].e at the top of your
> program
> for the contents to be accessible?
> 
> Thanks,
> David
> 
> 
> 
>

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

3. Re: Making include files

yes David, technically it is just that simple. good programming practice will
make you want to double check your code and make sure your procedure doesn't
leave any open file or windows handles and releases all of its memory. nobody
likes a leaky procedure. good luck!

At 08:09 PM 06/14/2001 -0700, you wrote:

>Evening all,
>
>How do you makea procedure into an include file? Is it enough to just save
>it as [name].e and then insert include [name].e at the top of your program
>for the contents to be accessible?
>
>Thanks,
>David

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

Search



Quick Links

User menu

Not signed in.

Misc Menu