Programmer Guide/Command Reference/GOSUBX
From STX Wiki
Jump to navigationJump to search
GOSUBX label [arguments]
- Like
GOSUB
but no new variable namespace is created (i.e. the subroutine uses the same environment as the caller). This feature can be useful if numerous arguments and data need to be passed or shared, but it should be used with care, because the subroutine can change the caller's variables. The MACROX command implements a comparable feature.