how to clear links

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to clear links

Bing Zhnag
Dear all:

I want to clear some types of links, for example turtles have three types of
links, link_1,link_2,link_3. I want to clear link_1 and link_2, how should I
do?

Sorry for bothering others

 

 

Best regards.

-------------------------------------------------------------------------

Zhang Bing  

Ph.D. candidate

Center of Environmental Management and Policy

School of Environment, Nanjing University

22 Hankou Road, Nanjing 210093, P.R.China

江苏省南京市汉口路22号南京大学环境学院

Tel/Fax: 86-25-83595207

Cellphone: 13951722047(China); 848-482-0692(US)  

 <mailto:E-mail:[hidden email]> E-mail:[hidden email];
<mailto:[hidden email]> [hidden email]

---------------------------------------------------------------------------

 

Reply | Threaded
Open this post in threaded view
|

Re: how to clear links

SethTisue
Administrator
>>>>> "Bing" == Bing Zhnag <[hidden email]> writes:

 Bing> Dear all: I want to clear some types of links, for example
 Bing> turtles have three types of links, link_1,link_2,link_3. I want
 Bing> to clear link_1 and link_2, how should I do?

By "types", do you mean "breeds"?  A breed should have a plural
name, like links_1.  Example code:

  ask links_1 [ die ]

--
Seth Tisue / http://tisue.net
lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/