vendredi 21 juillet 2017

How do you set a variable to decrease by 1 each tick without dropping below zero in Netlogo?

very very new to Netlogo, but would like to know how to write a piece of code that causes "excitation" to decrease by 1 each tick without dropping below zero in Netlogo? So far I have come up with this...

set excitation - 1

Aucun commentaire:

Enregistrer un commentaire