xcall MIAMEX, MX_VUE, filename, gostring
MX_VUE (MIAMEX 14) is used by the A-Shell VUE.LIT program to invoke the A-Shell VUE editor (which is coded in C), but could be used by any program requiring full text editing facilities.
filename is the name of the file (file specification or host pathname) to be edited. You may append any of the valid VUE.LIT switches (/R, /Y, /C, /W) to the end of the FILENAME parameter, but you must convert them to "UNIX format", i.e. use a dash instead of a slash and make them lower case. For example:
FILENAME = "MYFILE.TXT /W /R" ! (wrong)
FILENAME = "MYFILE.TXT –w –r" ! (correct)
If the GO command is used to exit the editor, then gostring (a string parameter of reasonable length) contains a list of commands to be executed, otherwise it is a null string. It would be up to the calling program to process the gostring, presumably by chaining to it as an in-memory command file.
If you only want to display a file but not allow editing of it, then you should specify the –r (read only) switch, or better yet, use EZTYP (which see).