Re: Procedure main
- Posted by petelomax Aug 19, 2022
- 696 views
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.