NetLogo 7.0.0-beta2:

table:get-or-default

table:get-or-default table key default-value

Reports the value that key is mapped to in the table. Reports the default-value if there is no entry for the key.

Take me to the full Table Extension Dictionary