I thought I would try to create my own Gosub command, via a PureBasic created plugin.
Ref: How to? - Name of current running gosub routine?
Here's the PureBasic code for the Gosub replacement;
Read more
Ref: How to? - Name of current running gosub routine?
Here's the PureBasic code for the Gosub replacement;
Code:
ProcedureDLL.i MyGosub(*lpszString)
Static theArg.s
theArg = PeekS(*lpszString)
theArg = Trim(theArg)
If Len(theArg) = 0
Command_("echo USAGE: Gosub label",0)
ProcedureReturn #Null
Else
Command_("set _gosub=" + theArg,0)
Command_("Gosub " +...
Read more