Re: Procedure main

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

In several of my commonly used programs (eg filedump.exw, hd.exw) it is often the case I want to change some load statement every 20th or 30th time I run it, eg

--      load_file(`E:\downloads\misc\arm\FASMARM_win32\helloworld`) 
--      load_file(`E:\downloads\misc\arm\FASMARM_win32\formatNum`) 
--      load_file(`E:\downloads\misc\arm\FASMARM_win32\binarydigit`) 
--      load_file(`E:\downloads\misc\arm\FASMARM_win32\System_time`) 
        load_file(`E:\downloads\misc\arm\FASMARM_win32\cmdln`) 

In my editor, Ctrl Q lists the routines, so that's much easier to get to if it's in a main().
In fact, as I'm currently playing with ELF files, and having ELF in the filter for Ctrl Q lists all
the routines I'm currently working on, I've renamed main() as mainELF(), so that it appears too.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu