<div><br></div>I didn't realize ABCL uses Allegro's Java interface API. Is ABCL's version complete (according to Allegro's docs)?<div><br></div><div>Thanks.</div><div><br></div><div>Blake McBride</div><div>
<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 10:02 PM, <a href="mailto:dmiles@users.sourceforge.net">dmiles@users.sourceforge.net</a> <span dir="ltr"><<a href="mailto:logicmoo@gmail.com">logicmoo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><h2>#'jfield</h2>
<p><b>Arguments: </b><i>class-ref-or-field field-or-instance </i>&optional <i>instance value</i></p>
<p>This function retrieves or modifies a field in a Java class or instance. </p>
<p>The valid argument patterns for this operation are: </p>
<ul>
<li><b><i>class-ref</i> <i>field-name</i></b>: to retrieve the value of a static field.
</li><li><b><i>class-ref</i> <i>field-name</i> <i>instance-ref</i></b>: to retrieve the value of a class field of the instance.
</li><li><b><i>class-ref</i> <i>field-name</i> <i>primitive-value</i></b>: to store primitive-value in a static field.
</li><li><b><i>class-ref</i> <i>field-name</i> <i>instance-ref</i> <i>value</i></b>: to store value in a class field of the instance.
</li><li><b><i>class-ref</i> <i>field-name</i> <code>nil</code> <i>value</i></b>: to store value in a static field (when <i>value</i> may be confused with an instance-ref).
</li><li><b><i>field-name</i> <i>instance</i></b>: to retrieve the value of a field of the instance. The class is derived from the instance.
</li><li><b><i>field-name</i> <i>instance</i> <i>value</i></b>: to store value in a field of the instance. The class is derived from the instance. </li></ul>
<div>See <a href="http://www.franz.com/support/documentation/current/doc/jlinker.htm" target="_blank">jlinker.htm</a> for more information.</div>
<div>. </div>
<div> </div>
<div><br> </div>
<div class="gmail_quote"><div><div></div><div class="h5">On Tue, Feb 9, 2010 at 7:15 PM, Blake McBride <span dir="ltr"><<a href="mailto:blake@mcbride.name" target="_blank">blake@mcbride.name</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><div><div></div><div class="h5">Greetings,
<div><br></div>
<div>I know how to gain access to and execute Java methods via jmethod and jcall, however, I don't know how to get and set instance and static fields (or variables) within a Java class. Any help would be greatly appreciated.</div>
<div><br></div>
<div>BTW, I've now got a Lisp macro that maps all the methods in a Java class into a corresponding CLOS class.</div>
<div><br></div>
<div>Thanks.</div>
<div><br></div><font color="#888888">
<div>Blake McBride</div>
<div><br></div></font><br></div></div>_______________________________________________<br>armedbear-devel mailing list<br><a href="mailto:armedbear-devel@common-lisp.net" target="_blank">armedbear-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>