Run Subroutine

Calls an MP subroutine.

 

Input Arguments

 

0

File Path or Embedded File

MP Subroutine File Path

The path to the MP subroutine to call.

1

Boolean

Share Parent Variables?

Specifies whether variables in-scope in the calling MP are accessible from the called subroutine.

2- >n

USER

USER

Additional arguments which are input arguments

for the selected subroutine.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The subroutine was found and returned a SUCCESS return value.

PARTIAL SUCCESS

The subroutine was found and returned a PARTIAL SUCCESS return value.

FAILURE

The subroutine could not be found or returned a FAILURE return value.

 

Remarks

Argument 0 supports both absolute paths (ex. C:\test.mp ) and relative paths (ex. .\test.mp ).

Once the subroutine has been specified in Argument 0 (via the “Browse” entry method), a list of additional arguments (2 -> n) will appear if the entered subroutine has input arguments defined. Note that this list of arguments is only refreshed when the subroutine is selected in Argument 0. To refresh the list, re-select the subroutine in Argument 0.