I'm converting a DF 2.3b program to 18.0 Lots of gosubs. It seems I am supposed to convert them to procedures/functions, but the non-global nature of variables inside procedures is making re-writing the code a necessity. Is there something I'm missing converting subroutines to procedures? I can't nest procedures so....

Short question: How to I easily pass variables into and out of procedures?

Also, Gosub_Return will crash my runtime with no error