L = x;
  document.querySelector('#y').innerHTML = y;
  document.querySelector('#z').innerHTML = z;
};</pre>
</div>

<H2><a name="Javascript_examples"></a>26.4 Examples</H2>


<p>Some basic examples are shown here in more detail.</p>

<H3><a name="Javascript_simple_example"></a>26.4.1 Simple</H3>


<p>The common example <code>simple</code> looks like this:</p>
<div class="code">
<pre>
/* File : example.i */
%module example

%inline %{
extern int    gcd(int x, int y);
extern double Foo;
%}</pre>
</div>
<p>To 