Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / The Mathematica Book / Mathematica Reference Guide / Listing of C Functions in the MathLink Library /

MLOpenArgv()

FilledSmallSquare MLINK MLOpenArgv(MLENV env, char **argv0, char **argv1, long *errno) opens a MathLink connection taking parameters from an argv array.

FilledSmallSquare MLInitialize() must be called before MLOpenArgv().

FilledSmallSquare MLOpenArgv() scans for the following at successive locations starting at argv0 and going up to just before argv1:

FilledSmallSquare MLOpenArgv() is not sensitive to the case of argument names.

FilledSmallSquare MLOpenArgv() ignores argument names that it does not recognize.

FilledSmallSquare MLOpenArgv() is called automatically by the MLMain() function created by mprep and mcc.

FilledSmallSquare With a main program main(int argc, char *argv[]) typical usage is MLOpenArgv(env, argv, argv+argc, errno).

FilledSmallSquare Avoiding an explicit argc argument allows MLOpenArgv() to work independent of the size of an int.

FilledSmallSquare On some computer systems, giving 0 for argv0 and argv1 will cause arguments to be requested interactively, typically through a dialog box.

FilledSmallSquare See Section 2.13.14.

FilledSmallSquare See also: MLActivate, MLOpenString.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: