Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / stabs / Conformant-Arrays.html
blob60d998d72a8519ffc91e1ae770cbc82072b23d67
1 <html lang="en">
2 <head>
3 <title>STABS</title>
4 <meta http-equiv="Content-Type" content="text/html">
5 <meta name="description" content="STABS">
6 <meta name="generator" content="makeinfo 4.3">
7 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
8 </head>
9 <body>
10 <div class="node">
11 <p>
12 Node:<a name="Conformant%20Arrays">Conformant Arrays</a>,
13 Previous:<a rel="previous" accesskey="p" href="Reference-Parameters.html#Reference%20Parameters">Reference Parameters</a>,
14 Up:<a rel="up" accesskey="u" href="Parameters.html#Parameters">Parameters</a>
15 <hr><br>
16 </div>
18 <h4 class="subsection">Passing Conformant Array Parameters</h4>
20 <p>Conformant arrays are a feature of Modula-2, and perhaps other
21 languages, in which the size of an array parameter is not known to the
22 called function until run-time. Such parameters have two stabs: a
23 <code>x</code> for the array itself, and a <code>C</code>, which represents the size
24 of the array. The value of the <code>x</code> stab is the offset in the
25 argument list where the address of the array is stored (it this right?
26 it is a guess); the value of the <code>C</code> stab is the offset in the
27 argument list where the size of the array (in elements? in bytes?) is
28 stored.
30 </body></html>