next up previous contents index
Next: Function param_write_string Up: Module paramreader_module Previous: Function param_read_args   Contents   Index

Function process_arguments


\begin{boxedminipage}{\textwidth}
\begin{verbatim}status = process_arguments(dict,non_opt_args,n_non_opt_args[,do_check])\end{verbatim}
\end{boxedminipage}

Process command line by looking for arguments in key=value form and parsing their values into dict. Non option arguments are returned in the array non_opt_args. Optionally check that all mandatory parameters have been specified.

dict -- type(Dictionary)

Dictionary of registered key/value pairs

non_opt_args -- character(len=*), dimension(:), intent(out)

On exit, contains non option arguments

n_non_opt_args -- integer, intent(out)

On exit, number of non option arguments

do_check -- logical, intent(in), optional

Should we check if all mandatory parameters have been given

Return value -- logical

param_write_string function

gabor 2009-06-30