Debian Codegraph @

docs/manual/_readFile-H-H_.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>readFile##</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Monaco,Courier" size=6 color="#999900"><b>
12 readFile##
13 </b></font></table></table>
14 <p>A function that can be used in <a href="Scripting.html">Scripting</a>.</p>
15 <h2>Syntax and semantics</h2>
16 <dl>
17 <dt><b><code><font size=+1>readFile##</font></code></b> (<i><code><font size=+1>filePath$</font></code></i>)
18 <dd>read the cells of a matrix from a text file.</dd>
19 </dl>
20 <p>Each line of the text file is read as a row of the matrix; the elements of the row are separated by horizontal space (i.e. spaces and/or tabs).</p>
21 <p>The matrix obtains as many rows as there are lines in the text file.</p>
22 <h2>Precondition</h2>
23 <p>Each line of the text file should contain the same number of elements.</p>
24 <h3>Links to this page</h3>
25 <ul>
26 <li><a href="Functions.html">Functions</a>
27 <li><a href="What_was_new_in_6_4_.html">What was new in 6.4?</a>
28 </ul>
29 <hr>
30 <address>
31 <p>© Paul Boersma 2023</p>
32 </address>
33 </body>
34 </html>