evaluate the "it" variable in an external

Mark Wieder mwieder at ahsoftware.net
Sun Dec 21 12:44:22 EST 2003


Alex-

I would leave EvalExpr() out of this. How about something like (untested):

AR> // the C
SendMCMessage("put revClipsAsk() into clipsResult", &retval);
actualResult = GetGlobal("clipsResult", &retval);

AR> // the transcript
global clipsResult
AR> function revclipsAsk
AR>    ask info "Your input:" titled "CLIPS input"
AR>    if it <> empty then
AR>      return it
AR>    end if
AR>    return the result
AR> end revclipsAsk

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list