I am accessing NetLogo model from NetBeans IDE. To set numeric type 
variable called ‘price’ (which is represented by sliders on the GUI) I use 

          workspace.command("set price 4"); 

and it works fine. Similarly there is variable called ‘selection’ (which is 
represented by Button on the GUI) with value of either ‘on’ or ‘of’.  To 
set this variable I use

        workspace.command("set selection on"); 

and I am getting error. How can we set text values to variables on the 
workspace?

With regards,

Getachew

-- 
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