Sorry for the confusing english

>(facts)
(father john peter)
(father moore brian)
TRUE

TRUE is the function output captured easily in netlogo by a reporter, but 

the list of facts
(father john peter)
(father moore brian)

the function side effect does not echo inside Netlogo.

best
Paulo

quinta-feira, 14 de Janeiro de 2016 às 21:04:43 UTC, [email protected] escreveu:
> Hi
> 
> We am trying to make an jess extension, jess the rule base programming, but 
> we have a problem.
> 
> In Jess, many important functions have side effects, mostly are printed text.
> So if I use the function 
> 
> (facts)
> 
> This function return TRUE after listing all the facts.
> 
> It is easy to make a method that invokes a function that returns a value 
> using 
> org.nlogo.api.Reporter. But how can I redirect the text output is written or 
> is redirected to the Netlogo command center?
> 
> Function (printf t 10 crlf) outputs 10 but writes a 10 in the standard output.
> How can I capture this function sideeffects inside Netlogo.
> 
> 
> 
> 
> Best
> Paulo

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to