Is it possible to call the main module of a program from one of its subs. I know that it would not usually be a good idea, but can it be done.
I also wondered if you could end a sub without using goto to call a tag just be for a end sub. Example of what I DON'T want to do:
sub win
If a=0 then goto endsub:
print "You Win!"
tallyscores
endsub:
end sub
I also wondered if you could end a sub without using goto to call a tag just be for a end sub. Example of what I DON'T want to do:
sub win
If a=0 then goto endsub:
print "You Win!"
tallyscores
endsub:
end sub