After hours of misinformation, misdirection and just generally wasting my time, I have found what works for me in MACH3 R3.043.066 when calling a file as a subroutine.
Generally speaking, here are the “rules”.
The syntax is
m98 (-c:\AnyDirectory\AnyFile.tap)
A few notes on the syntax;
Note the hyphen (-) immediately after the opening parenthesis.
Note the full path.
You have no way of knowing this, but the file AnyFile.tap does not exist.
Note the file extension “tap”
ALL of these elements must be present in order for the call to work. In addition, sit down folks, this is an all time “why does that happen?" moment. If any element is incorrect, when the file is loaded into Mach3, THE CODE WINDOW IS BLANK! Go figure…
Also note that the file NEED NOT be in the "subroutines" folder. My experience is that the file can exist anywhere it can be addressed using the Windows file path syntax. This includes network drives and Google Drive.
One additional note. If the file does not exist (whether due to an incorrect/invalid path, incorrect/invalid file name, etc.) the above blank code window appears.
I welcome any comments.