Re: Binding multiple source files

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

I wrote:

><snip>
>>Is this possible and how do I call routines and procedures in 
>>different files from a menu system in one file?
>
>Yes, using globals.
A simpler answer might have been define the menus near the end of the 
program (but still before WinMain). For example in Edita, eamenus.ew 
is included on line 1237 of 1939, and is 8th out of 9 include files,
so it can call anything defined in well over 2/3rds of the code. It
could even be much further down, apart from one routine
(toggleSpecials) , which is there to avoid making ToolShowS global.

Regards,
Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu