Modifications: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "* mfe_get_args was created to have access to the front-end command line parameters. Here is an example how to use it int argc; char **argv; mfe_get_args(&argc, &...")
 
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
* mfe_get_args was created to have access to the front-end command line parameters. Here is an example how to use it
The midas documentation has moved. See [https://midas.triumf.ca/docs/develop/features/acquiring_data/frontends/programming/#handling-command-line-arguments Handling command-line arguments] on the Frontends: programming page for the new documentation about frontend command-line arguments.
 
  int argc;
  char **argv;
 
  mfe_get_args(&argc, &argv);
  for (int i=0 ; i<argc ; i++)
      puts(argv[i]);

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. See Handling command-line arguments on the Frontends: programming page for the new documentation about frontend command-line arguments.