Can you pass a parameter to a subroutine, preferably a string, but also an object?
That's what I'm doing at the moment and I think that's the only way you can do it, but it sure would be nice if you could say something like:
: gosub "my_sub" param = "some val";
Then in the subroutine, you can use:
my_sub : subroutine {
:if (param == "some val") {
...
}
}
Saves a lot of typing and avoids having to declare a global variable just for the subroutine.