On Mon, Nov 9, 2015 at 4:05 AM, Getachew Feleke Belete
<[email protected]> wrote:
> I think the issue is not related to usage of keywords true and false. For
> example, we have a button called type with list of alternative values floor,
> wall, roof, and window. It works properly using NetLogo IDE. Now the
> question is how to set these text values to the variable, for example
>
>                     workspace.command("set type  wall");
>
> generates error.

I guess wall is a string? If so, it must be double-quoted, and since
the NetLogo double quotes are appearing inside a Java double-quoted
string, they must be escaped:

workspace.command("set type \"wall\"");

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