Re: Need Help Creating include files.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Martin Berger wrote:
> 
> Matt
> 
> Let me see if I understand,  Any function or type I put in an include file 
> has to be declared as a global?

Only if you want to allow code from other files to be able to use it.  I 
know, it sounds like you'll want to make everything global, but as you 
write more complex include files, there will inevitably be plenty of 
stuff that you don't want to be global.  In general, it's a good idea to
keep as much local as possible, especially variables.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu