- Sun Jan 14, 2018 10:03 am
Plus one for this. I would like to keep working routeens in seperate source files, that are simply imported at the start of the main code... eg...
gosub [routeen name2]
It's not 'realtime', but rather at compile time.. and should be fairly simple to implement. Just chain all the imports into the code, either at the start (before the code in display) or at the point of import. The normal errors would take care of calling a sub routeen that does not exist. It would not be perfect (I'm thinking variable scope here..), but better than a program that just gets longer and longer, and therefore harder to fault find etc. Perhaps it would make more sense if their was a kind of Def Proc nnn(x,y,z) type definition, so that variables could then be local to the routeen, with variables passed and returned by the call.. This would of course be harder to implement! At the moment, I love the web editing and simplicity of installation and use. Great job and thank you for it.