xcall MIAMEX, MX_IXCALL, sbrnam, xcbadr, status
MX_IXCALL (MIAMEX 115) allows you to forward the calling parameter from one BASIC SBX subroutine to another, evaluating the new subroutine name on the fly.
Parameters
sbrnam (String)
is the name of the new subroutine to call.
xcbadr (F,6)
is the address of the parameter structure which was passed to the original routine.
status (F,6)
will return 0 for success, >0 for subroutine not found or unable to load, else <0 for other system errors.
Comments
MX_IXCALL is used in the RXCALL.SBX routine, which allows you to remotely call a routine running on another machine. See the documentation on SBX Subroutines about RXCALL, as well as for information on the subroutine parameter structure.