ToonTalk / behaviour-composer

A web-based tool for composing NetLogo micro-behaviours
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

list of lists and substitute text area #959

Closed ToonTalk closed 9 years ago

ToonTalk commented 9 years ago
this MB:
https://sites.google.com/site/modelling4allproject/libraries/somie/move-to-task

imports ok

works when you put on a prototype

but not on a list of lists

something to do with:

substitute-text-area-for xyz-cond-target one-of all-of-kind "start of path" in-radius
my-vision

I can't find a variable name (e.g. xyz-cond-target) that works

Original issue reported on code.google.com by howard.noble on 2014-03-08 17:15:18

ToonTalk commented 9 years ago
e.g. in this model:
http://655.m4a-gae-hrd.appspot.com/m/?frozen=GPSC90MrihlvznxiBIam6h&MforAllModel=1

Original issue reported on code.google.com by howard.noble on 2014-03-08 17:15:45

ToonTalk commented 9 years ago
actually this might be if the text that is to be substituted is exactly the same...as
was the case...and could be where you want to use the same substitution twice (as in
an ifelse condition [ condition ] [ otherwise condition ] statement

Original issue reported on code.google.com by howard.noble on 2014-03-08 17:25:58

ToonTalk commented 9 years ago
When you change the text-area definitions on the micro-behaviour page (it was called
xyz-condition-target and later is called cond-t) then pre-existing micro-behaviours
that depend upon that page can easily become garbled. It seems to work fine to import
the page again and re-edit the micro-behaviours. If there were published models depending
upon https://sites.google.com/site/modelling4allproject/libraries/somie/move-to-task
then you should make a new URL such as https://sites.google.com/site/modelling4allproject/libraries/somie/move-to-task-v2

Original issue reported on code.google.com by ToonTalk on 2014-03-09 15:01:44