<html>
<body>
You have a typo in your first sample, don't you?&nbsp; (See
below.)<br><br>
To my way of thinking, by the way, &quot;for Types in Types&quot; does
not follow the admonishment to use a separate variable name for each
concept / idea.&nbsp; &quot;for Type in Types&quot; certainly makes more
sense.&nbsp; &quot;for Type in a.GetTypes()&quot; makes sense.<br><br>
<br><br>
At 01:23 PM 6/1/2006, Lesley &amp; Mitch Barnett wrote<br>
<blockquote type=cite class=cite cite="">
<font face="Arial, Helvetica" size=2 color="#000080">Here is the code in
the interpreter to show Types in Types: does work or is it a bug?<br>
&nbsp;<br>
IronPython 1.0.2328 (Beta) on .NET 2.0.50727.42<br>
Copyright (c) Microsoft Corporation. All rights reserved.<br>
&gt;&gt;&gt; from System.Reflection import *<br>
&gt;&gt;&gt; a = Assembly.LoadFrom(&quot;mapack.dll&quot;)<br>
&gt;&gt;&gt; Types = a.GetTypes()<br>
&gt;&gt;&gt; for Type in Types:</font></blockquote><br>
Next line needs to be &quot;print Type&quot; doesn't it?&nbsp; You're
just printing the value of Types, which doesn't change, once for each
value in Types.<br><br>
<blockquote type=cite class=cite cite="">
<font face="Arial, Helvetica" size=2 color="#000080">...&nbsp;&nbsp;
print Types<br>
...<br>
System.Type[]<br>
System.Type[]<br>
System.Type[]<br>
System.Type[]<br>
System.Type[]<br>
System.Type[]<br>
&nbsp;<br>
&nbsp;<br>
&gt;&gt;&gt; Types = a.GetTypes()<br>
&gt;&gt;&gt; for Types in Types:<br>
...&nbsp;&nbsp; print Types<br>
...<br>
Mapack.CholeskyDecomposition<br>
Mapack.EigenvalueDecomposition<br>
Mapack.LuDecomposition<br>
Mapack.Matrix<br>
Mapack.QrDecomposition<br>
Mapack.SingularValueDecomposition<br>
&gt;&gt;&gt; <br>
&nbsp;<br>
[snip]</font></blockquote></body>
<br>
<br>
J. Merrill / Analytical Software Corp</html>