Runs NetLogo commands and waits for them to complete.
Runs NetLogo commands and waits for them to complete.
The command or commands to run
org.nlogo.api.LogoException
if the code fails to run
org.nlogo.core.CompilerException
if the code fails to compile
Runs a NetLogo reporter.
Runs a NetLogo reporter.
The reporter to run
the result reported; may be of type java.lang.Integer, java.lang.Double,
java.lang.Boolean, java.lang.String, org.nlogo.core.LogoList
,
org.nlogo.api.Agent
, AgentSet, or Nobody
org.nlogo.api.LogoException
if the code fails to run
org.nlogo.core.CompilerException
if the code fails to compile