Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の条件を適用しようとしています。
if ( the color of patch -2 -1 is red ) [ some commands ]
NetLogoでこれを書く方法を誰か教えてもらえますか?
if ([pcolor] of patch -2 -1 = red) [ ]
あなたがそれをどのように置くかはかなりですが、コードでは、チュートリアルとそうでないものを読んでください。これは簡単なはずです. パッチには pcolor を、タートルには color を使用することに注意してください。