M. Drew LaMar
February 18, 2022
globals [ ]
chunk of code. I would also put an additional comment at the end stating it is on the Interface. For example: globals
[
; q ; (Interface Slider) Probability that ...
]
setup
procedure. If you choose to comment and not remove, I would also put the same comment from the globals
chunk in here as well. For example:to setup
[
; set q 0.2 ; (Interface Slider)
]
Tips to reduce probability of getting stuck and increase probability of getting unstuck.
Check
button) and runtime (using Go
button) errors, and verify and validate code (i.e. is it doing what it is supposed to do?) For verification and validation:
Step
button that steps through the program one tick at a time.show
statements throughout your code.Tips to reduce probability of getting stuck and increase probability of getting unstuck.
“The productive modeler simply assumes that software mistakes are inevitable and continually searches for them.”
- Railsback & Grimm