1. Making include files
- Posted by dstanger at belco.bc.ca Jun 14, 2001
- 366 views
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
2. Re: Making include files
- Posted by pampeano at ROCKETMAIL.COM Jun 14, 2001
- 347 views
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 > > > >
3. Re: Making include files
- Posted by otter at FULL-MOON.COM Jun 14, 2001
- 379 views
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