On Thu, Jul 13, 2017 at 1:23 PM, Alan Isaac <alan.is...@gmail.com> wrote:

> 1. Stopping `loop` appears to terminate command line processing.  E.g.,
> `let _ct 0 loop [if (_ct = 10) [stop] set _ct (1 + _ct)] print _ct`
> will not print anything`.  Is this expected/desired?
> (I.e., must the command be thought of as an "enclosing procedure"?)
>
> Yes, exactly. The command center operates by wrapping all the code you
enter in a procedure, then compiling and executing that procedure.


> 2. Feature request:
> would it be possible to gray out `Tools » Halt` whenever no NetLogo code
> is being executed?
>

Nice idea — open a ticket at https://github.com/NetLogo/NetLogo/issues ?

-- 
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 netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to