next up previous contents index
Next: Function process_arguments Up: Module paramreader_module Previous: Function param_read_file   Contents   Index

Function param_read_args


\begin{boxedminipage}{\textwidth}
\begin{verbatim}status = param_read_args(dict[,args,do_check,ignore_unknown])\end{verbatim}
\end{boxedminipage}

Read key = value pairs from command line and set entries in this dict. Array args is a list of the indices of command line arguments that we should look at, in order, if it's not given we look at all arguments. Returns false if fails, or if optional check that all mandatory values have been specified fails.

dict -- type(Dictionary), intent(inout)

Dictionary of registered key/value pairs

args -- integer, dimension(:), intent(in), optional

Argument indices to use

do_check -- logical, intent(in), optional

Should we check if all mandatory parameters have been given

ignore_unknown -- logical, intent(in), optional

If true, ignore unknown keys in line

Return value -- logical

process_arguments function

gabor 2009-06-30