MLOpenArgv (C Function)
As of Version 6.0, MLOpenArgv() has been superseded by MLOpenArgcArgv.
Details

- MLInitialize() must be called before MLOpenArgv().
- MLOpenArgv() scans for the following at successive locations starting at argv0 and going up to just before argv1:
-
"-linkconnect" connect to an existing link (LinkConnect) "-linkcreate" create a link (LinkCreate) "-linklaunch" launch a child process (LinkLaunch) "-linkname","name" the name to use in opening the link "-linkprotocol","protocol" the link protocol to use ( ,
, etc.)
- MLOpenArgv() is not sensitive to the case of argument names.
- MLOpenArgv() ignores argument names that it does not recognize.
- MLOpenArgv() is called automatically by the MLMain() function created by mprep and mcc.
- With a main program main(intargc, char *argv[]) typical usage is
.
- Avoiding an explicit argc argument allows MLOpenArgv() to work independent of the size of an int.
- On some computer systems, giving 0 for argv0 and argv1 will cause arguments to be requested interactively, typically through a dialog box.