Debian Codegraph @

docs/fpm-ford/proc/runit~2.html

raw
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>runit &ndash; 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>runit
82 <small>Subroutine</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.8% of total for procedures.">7 statements</a>
94 </li>
95
96 <li id="source-file">
97 <i class="fa fa-code"></i>
98 <a href="../src/test_syntax.f90"> Source File</a>
99 </li>
100 </ul>
101 <ol class="breadcrumb in-well text-right">
102 <li><a href='../sourcefile/test_syntax.f90.html'>test_syntax.f90</a></li>
103 <li><a href='../program/test_syntax.html'>test_syntax</a></li>
104 <li class="active">runit</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 <div class="panel panel-primary">
123 <div class="panel-heading text-left">
124 <h3 class="panel-title">
125 <a data-toggle="collapse" href="#vars-0">Variables</a>
126 </h3>
127 </div>
128 <div id="vars-0" class="panel-collapse collapse">
129 <div class="list-group">
130 <a class="list-group-item" href="../proc/runit~2.html#variable-cmd~3">cmd</a>
131 </div>
132 </div>
133 </div>
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152 <div class="panel panel-primary">
153 <div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div>
154 <div class="list-group">
155 <a class="list-group-item" href="../proc/runit~2.html#src">runit</a>
156 </div>
157 </div>
158
159
160 </div>
161
162 </div>
163
164 <div class="col-md-9" id='text'>
165 <h2> subroutine runit(string)
166 </h2>
167
168
169
170 <h3>Arguments</h3>
171 <table class="table table-striped varlist">
172 <thead>
173 <tr>
174 <th>Type</th>
175 <th>Intent</th><th>Optional</th> <th>Attributes</th>
176 <th></th>
177 <th>Name</th>
178 <th></th>
179 </thead>
180 <tbody>
181 <tr>
182 <td>
183 <span class="anchor" id="variable-string~3"></span>
184 character(len=*),
185 </td>
186 <td>intent(in)</td>
187 <td></td> <td>
188
189 </td>
190 <td>::</td>
191 <td><strong>string</strong></td>
192 <td>
193
194 </td>
195 </tr>
196 </tbody>
197 </table>
198
199 <br>
200
201 <section class="visible-xs visible-sm hidden-md">
202 <h3>Contents</h3>
203
204 <div class="panel panel-primary">
205 <div class="panel-heading text-left">
206 <h3 class="panel-title">
207 <a data-toggle="collapse" href="#vars-1">Variables</a>
208 </h3>
209 </div>
210 <div id="vars-1" class="panel-collapse collapse">
211 <div class="list-group">
212 <a class="list-group-item" href="../proc/runit~2.html#variable-cmd~3">cmd</a>
213 </div>
214 </div>
215 </div>
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234 <div class="panel panel-primary">
235 <div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div>
236 <div class="list-group">
237 <a class="list-group-item" href="../proc/runit~2.html#src">runit</a>
238 </div>
239 </div>
240
241
242 </section>
243 <br class="visible-xs visible-sm hidden-md">
244
245
246 <section>
247 <h2>Variables</h2>
248 <table class="table table-striped varlist">
249 <thead>
250 <tr>
251 <th>Type</th>
252 <th>Visibility</th> <th>Attributes</th>
253 <th></th>
254 <th>Name</th>
255 <th></th><th>Initial</th> <th></th>
256 </thead>
257 <tbody>
258 <tr>
259 <td>
260 <span class="anchor" id="variable-cmd~3"></span>
261 character(len=4096),
262 </td>
263 <td>public</td>
264 <td>
265
266 </td>
267 <td>::</td>
268 <td><strong>cmd</strong></td>
269 <td></td>
270 <td></td>
271 <td>
272
273 </td>
274 </tr>
275 </tbody>
276 </table>
277
278 </section>
279 <br>
280
281
282
283
284
285
286
287
288 <section>
289 <h2><span class="anchor" id="src"></span>Source Code</h2>
290 <div class="highlight"><pre><span></span><span class="k">subroutine </span><span class="n">runit</span><span class="p">(</span><span class="n">string</span><span class="p">)</span><span class="w"></span>
291 <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">string</span><span class="w"></span>
292 <span class="kt">character</span><span class="p">(</span><span class="nb">len</span><span class="o">=</span><span class="mi">4096</span><span class="p">)</span><span class="w"> </span><span class="kd">::</span><span class="w"> </span><span class="n">cmd</span><span class="w"></span>
293 <span class="w"> </span><span class="k">call </span><span class="nb">get_command_argument</span><span class="p">(</span><span class="mi">0</span><span class="p">,</span><span class="n">cmd</span><span class="p">)</span><span class="w"></span>
294 <span class="w"> </span><span class="k">write</span><span class="p">(</span><span class="n">stdout</span><span class="p">,</span><span class="o">*</span><span class="p">)</span><span class="s1">&#39;RUN:&#39;</span><span class="p">,</span><span class="nb">trim</span><span class="p">(</span><span class="n">cmd</span><span class="p">)</span><span class="o">//</span><span class="s1">&#39; &#39;</span><span class="o">//</span><span class="n">string</span><span class="w"></span>
295 <span class="w"> </span><span class="k">call </span><span class="nb">execute_command_line</span><span class="p">(</span><span class="nb">trim</span><span class="p">(</span><span class="n">cmd</span><span class="p">)</span><span class="o">//</span><span class="s1">&#39; &#39;</span><span class="o">//</span><span class="n">string</span><span class="p">)</span><span class="w"></span>
296 <span class="k">end subroutine </span><span class="n">runit</span><span class="w"></span>
297 </pre></div>
298
299 </section>
300 <br>
301
302 </div>
303 </div>
304
305 <hr>
306 </div> <!-- /container -->
307 <footer>
308 <div class="container">
309 <div class="row">
310 <div class="col-xs-6 col-md-6"><p>M_CLI2 was developed by John S. Urban<br>&copy; 2023
311 </p>
312 </div>
313 <div class="col-xs-6 col-md-6">
314 <p class="text-right">
315 Documentation generated by
316 <a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
317 on 2023-02-10 18:53 </p>
318 </div>
319 </div>
320 <br>
321 </div> <!-- /container -->
322 </footer>
323
324 <!-- Bootstrap core JavaScript
325 ================================================== -->
326 <!-- Placed at the end of the document so the pages load faster -->
327 <!--
328 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
329 -->
330 <script src="../js/bootstrap.min.js"></script>
331 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
332 <script src="../js/ie10-viewport-bug-workaround.js"></script>
333
334 <!-- MathJax JavaScript
335 ================================================== -->
336 <!-- Placed at the end of the document so the pages load faster -->
337 <script type="text/x-mathjax-config">
338 MathJax.Hub.Config({
339 TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } },
340 jax: ['input/TeX','input/MathML','output/HTML-CSS'],
341 extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js']
342 });
343 </script>
344 <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
345
346 <script src="../tipuesearch/tipuesearch_content.js"></script>
347 <script src="../tipuesearch/tipuesearch_set.js"></script>
348 <script src="../tipuesearch/tipuesearch.js"></script>
349
350 </body>
351 </html>