メインルーチンをファイルで分けちまって、
先に『#include』 したら駄目なんだっけか?
 
#include "main.hsp"
#include "a.hsp"