Can subroutines be located outside of the last 'End' statement in a
program? Here is an example of a subroutine DATAIO defined outside
of the end statement
i'm writing a program right now that will be a large program once it's done. as it is, it's looking pretty sloppy with a bunch of Goto statements scattered across the program. i'd like to make it more readable by including the subroutines at the end, if possible
or create a file and then you include it. SO that it looks neat and if another program is able to use them as well you don't have to re-write the code, but use the include comand.
Jep use a project and then include all the files. can them *.inc but rember that if you include a file it become at that place in your asm FILE so hold that in mind.
And use CALL for a subroutine and not a GOTO. Because a CALL gif you a stack all the time so you can use it all the time.