I am looking for a way to do nothing in netlogo. In other programming lanagues this is known as a no op method. Is there a way that I could do this in netlogo?
You can write a no-op procedure of your own pretty easily:
to no-op
end
; usage
to go
no-op
end
If you only want built-in primitives, display
or clear-output
might be candidates, depending on what you're using in your model.
来源:https://stackoverflow.com/questions/51082725/is-there-a-noop-in-netlogo