Glenn,
Obviously, the "?e <- (editor (field ?tf))" will only work on the
LHS of a rule, allowing you to access the TextField object on the
RHS via the bound value ?tf. To access externals outside of a rule,
try using the store/fetch methods or directly use your global.
On Wed, 26 Aug 1998, Glenn Williams wrote:
> I'd like to do the following:
> ( deftemplate editor ( slot field ) )
> ( defglobal ?*t* = new java.awt.textField )
>
> ( assert editor ( field ?*t* ) )
>
> This works, the reference is loaded into editor, but how do I retrieve it?
>
> I tried:
>
> ?e <- ( editor ( field ?tf ) )
>
> which fails.
>
> How do I can I get and use the external reference?
>
> glenn
>
> >
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
>
Alan Davis
CAD Research Center
California Polytechnic State University
San Luis Obispo, CA 93407
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------