| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 |
<meta name="description" content="command line parsing"> |
| 8 |
<meta name="author" content="John S. Urban" > |
| 9 |
<link rel="icon" href="../favicon.png"> |
| 10 |
|
| 11 |
<title>lget – M_CLI2</title> |
| 12 |
|
| 13 |
<link href="../css/bootstrap.min.css" rel="stylesheet"> |
| 14 |
<link href="../css/pygments.css" rel="stylesheet"> |
| 15 |
<link href="../css/font-awesome.min.css" rel="stylesheet"> |
| 16 |
<link href="../css/local.css" rel="stylesheet"> |
| 17 |
<link href="../tipuesearch/tipuesearch.css" rel="stylesheet"> |
| 18 |
|
| 19 |
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> |
| 20 |
<!--[if lt IE 9]> |
| 21 |
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> |
| 22 |
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
| 23 |
<![endif]--> |
| 24 |
|
| 25 |
<script src="../js/jquery-2.1.3.min.js"></script> |
| 26 |
<script src="../js/svg-pan-zoom.min.js"></script> |
| 27 |
|
| 28 |
</head> |
| 29 |
|
| 30 |
<body> |
| 31 |
|
| 32 |
<!-- Fixed navbar --> |
| 33 |
<nav class="navbar navbar-inverse navbar-fixed-top"> |
| 34 |
<div class="container"> |
| 35 |
<div class="navbar-header"> |
| 36 |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> |
| 37 |
<span class="sr-only">Toggle navigation</span> |
| 38 |
<span class="icon-bar"></span> |
| 39 |
<span class="icon-bar"></span> |
| 40 |
<span class="icon-bar"></span> |
| 41 |
</button> |
| 42 |
<a class="navbar-brand" href="../index.html">M_CLI2 </a> |
| 43 |
</div> |
| 44 |
<div id="navbar" class="navbar-collapse collapse"> |
| 45 |
<ul class="nav navbar-nav"> |
| 46 |
<li class="dropdown hidden-xs visible-sm visible-md hidden-lg"> |
| 47 |
<a href="#" class="dropdown-toggle" |
| 48 |
data-toggle="dropdown" role="button" |
| 49 |
aria-haspopup="true" |
| 50 |
aria-expanded="false">Contents <span class="caret"></span></a> |
| 51 |
<ul class="dropdown-menu"> |
| 52 |
<li><a href="../lists/files.html">Source Files</a></li> |
| 53 |
<li><a href="../lists/modules.html">Modules</a></li> |
| 54 |
<li><a href="../lists/procedures.html">Procedures</a></li> |
| 55 |
<li><a href="../lists/types.html">Derived Types</a></li> |
| 56 |
<li><a href="../lists/programs.html">Programs</a></li> |
| 57 |
|
| 58 |
</ul> |
| 59 |
|
| 60 |
</li> |
| 61 |
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/files.html">Source Files</a></li> |
| 62 |
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/modules.html">Modules</a></li> |
| 63 |
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/procedures.html">Procedures</a></li> |
| 64 |
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/types.html">Derived Types</a></li> |
| 65 |
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/programs.html">Programs</a></li> |
| 66 |
</ul> |
| 67 |
<form action="../search.html" class="navbar-form navbar-right" role="search"> |
| 68 |
<div class="form-group"> |
| 69 |
<input type="text" class="form-control" placeholder="Search" name="q" id="tipue_search_input" autocomplete="off" required> |
| 70 |
</div> |
| 71 |
<!-- |
| 72 |
<button type="submit" class="btn btn-default">Submit</button> |
| 73 |
--> |
| 74 |
</form> |
| 75 |
</div><!--/.nav-collapse --> |
| 76 |
</div> |
| 77 |
</nav> |
| 78 |
|
| 79 |
<div class="container"> |
| 80 |
<div class="row"> |
| 81 |
<h1>lget |
| 82 |
<small>Function</small> |
| 83 |
|
| 84 |
</h1> |
| 85 |
<div class="row" id="info-bar"> |
| 86 |
<div class="col-lg-12"> |
| 87 |
<div class="well well-sm"> |
| 88 |
<ul class="list-inline" style="margin-bottom:0px;display:inline"> |
| 89 |
|
| 90 |
<li id="statements"><i class="fa fa-list-ol"></i> |
| 91 |
<a data-toggle="tooltip" |
| 92 |
data-placement="bottom" data-html="true" |
| 93 |
title=" 1.3% of total for procedures.">5 statements</a> |
| 94 |
</li> |
| 95 |
|
| 96 |
<li id="source-file"> |
| 97 |
<i class="fa fa-code"></i> |
| 98 |
<a href="../src/M_CLI2.F90"> Source File</a> |
| 99 |
</li> |
| 100 |
</ul> |
| 101 |
<ol class="breadcrumb in-well text-right"> |
| 102 |
<li><a href='../sourcefile/m_cli2.f90.html'>M_CLI2.F90</a></li> |
| 103 |
<li><a href='../module/m_cli2.html'>M_CLI2</a></li> |
| 104 |
<li class="active">lget</li> |
| 105 |
</ol> |
| 106 |
</div> |
| 107 |
</div> |
| 108 |
</div> |
| 109 |
<script> |
| 110 |
$(function () { |
| 111 |
$('[data-toggle="tooltip"]').tooltip() |
| 112 |
}) |
| 113 |
</script> |
| 114 |
|
| 115 |
</div> |
| 116 |
|
| 117 |
<div class="row"> |
| 118 |
<div class="col-md-3 hidden-xs hidden-sm visible-md visible-lg"> |
| 119 |
<div id="sidebar"> |
| 120 |
<h3>Contents</h3> |
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
<div class="panel panel-primary"> |
| 141 |
<div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div> |
| 142 |
<div class="list-group"> |
| 143 |
<a class="list-group-item" href="../proc/lget.html#src">lget</a> |
| 144 |
</div> |
| 145 |
</div> |
| 146 |
|
| 147 |
|
| 148 |
</div> |
| 149 |
|
| 150 |
</div> |
| 151 |
|
| 152 |
<div class="col-md-9" id='text'> |
| 153 |
<h2>public function lget(n) |
| 154 |
</h2> |
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
<h3>Arguments</h3> |
| 159 |
<table class="table table-striped varlist"> |
| 160 |
<thead> |
| 161 |
<tr> |
| 162 |
<th>Type</th> |
| 163 |
<th>Intent</th><th>Optional</th> <th>Attributes</th> |
| 164 |
<th></th> |
| 165 |
<th>Name</th> |
| 166 |
<th></th> |
| 167 |
</thead> |
| 168 |
<tbody> |
| 169 |
<tr> |
| 170 |
<td> |
| 171 |
<span class="anchor" id="variable-n~4"></span> |
| 172 |
character(len=*), |
| 173 |
</td> |
| 174 |
<td>intent(in)</td> |
| 175 |
<td></td> <td> |
| 176 |
|
| 177 |
</td> |
| 178 |
<td>::</td> |
| 179 |
<td><strong>n</strong></td> |
| 180 |
<td> |
| 181 |
|
| 182 |
</td> |
| 183 |
</tr> |
| 184 |
</tbody> |
| 185 |
</table> |
| 186 |
|
| 187 |
<h3>Return Value |
| 188 |
<small> |
| 189 |
<span class="anchor" id="variable-lget"></span> |
| 190 |
logical |
| 191 |
</small> |
| 192 |
</h3> |
| 193 |
|
| 194 |
<br> |
| 195 |
|
| 196 |
<section class="visible-xs visible-sm hidden-md"> |
| 197 |
<h3>Contents</h3> |
| 198 |
|
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
<div class="panel panel-primary"> |
| 218 |
<div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div> |
| 219 |
<div class="list-group"> |
| 220 |
<a class="list-group-item" href="../proc/lget.html#src">lget</a> |
| 221 |
</div> |
| 222 |
</div> |
| 223 |
|
| 224 |
|
| 225 |
</section> |
| 226 |
<br class="visible-xs visible-sm hidden-md"> |
| 227 |
|
| 228 |
|
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
<section> |
| 238 |
<h2><span class="anchor" id="src"></span>Source Code</h2> |
| 239 |
<div class="highlight"><pre><span></span><span class="k">function </span><span class="n">lget</span><span class="p">(</span><span class="n">n</span><span class="p">);</span><span class="w"> </span><span class="kt">logical</span><span class="w"> </span><span class="kd">::</span><span class="w"> </span><span class="n">lget</span><span class="p">;</span><span class="w"> </span><span class="kt">character</span><span class="p">(</span><span class="nb">len</span><span class="o">=*</span><span class="p">),</span><span class="k">intent</span><span class="p">(</span><span class="n">in</span><span class="p">)</span><span class="w"> </span><span class="kd">::</span><span class="w"> </span><span class="n">n</span><span class="p">;</span><span class="w"> </span><span class="k">call </span><span class="n">get_args</span><span class="p">(</span><span class="n">n</span><span class="p">,</span><span class="n">lget</span><span class="p">);</span><span class="w"> </span><span class="k">end function </span><span class="n">lget</span><span class="w"></span> |
| 240 |
</pre></div> |
| 241 |
|
| 242 |
</section> |
| 243 |
<br> |
| 244 |
|
| 245 |
</div> |
| 246 |
</div> |
| 247 |
|
| 248 |
<hr> |
| 249 |
</div> <!-- /container --> |
| 250 |
<footer> |
| 251 |
<div class="container"> |
| 252 |
<div class="row"> |
| 253 |
<div class="col-xs-6 col-md-6"><p>M_CLI2 was developed by John S. Urban<br>© 2023 |
| 254 |
</p> |
| 255 |
</div> |
| 256 |
<div class="col-xs-6 col-md-6"> |
| 257 |
<p class="text-right"> |
| 258 |
Documentation generated by |
| 259 |
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a> |
| 260 |
on 2023-02-10 18:53 </p> |
| 261 |
</div> |
| 262 |
</div> |
| 263 |
<br> |
| 264 |
</div> <!-- /container --> |
| 265 |
</footer> |
| 266 |
|
| 267 |
<!-- Bootstrap core JavaScript |
| 268 |
================================================== --> |
| 269 |
<!-- Placed at the end of the document so the pages load faster --> |
| 270 |
<!-- |
| 271 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> |
| 272 |
--> |
| 273 |
<script src="../js/bootstrap.min.js"></script> |
| 274 |
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> |
| 275 |
<script src="../js/ie10-viewport-bug-workaround.js"></script> |
| 276 |
|
| 277 |
<!-- MathJax JavaScript |
| 278 |
================================================== --> |
| 279 |
<!-- Placed at the end of the document so the pages load faster --> |
| 280 |
<script type="text/x-mathjax-config"> |
| 281 |
MathJax.Hub.Config({ |
| 282 |
TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } }, |
| 283 |
jax: ['input/TeX','input/MathML','output/HTML-CSS'], |
| 284 |
extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js'] |
| 285 |
}); |
| 286 |
</script> |
| 287 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> |
| 288 |
|
| 289 |
<script src="../tipuesearch/tipuesearch_content.js"></script> |
| 290 |
<script src="../tipuesearch/tipuesearch_set.js"></script> |
| 291 |
<script src="../tipuesearch/tipuesearch.js"></script> |
| 292 |
|
| 293 |
</body> |
| 294 |
</html> |