Reply To: Getting a NetLogo model to work in CODAP

#6986
Bill Finzer
Keymaster

Hi Susi,

I believe by extensions the guide is referring to the first line of code. Here’s an example:

extensions [codap nlmap]

turtles-own
    [ sick?                ;; if true, the turtle is infectious
remaining-immunity   ;; how many weeks of immunity the turtle has left
sick-time            ;; how long, in weeks, the turtle has been infectious
age                 ;; how many weeks old the turtle is
num-infections-left   ;; how many others the turtle may still infect
]
...

It’s just the first line that is relevant to you here. It instructs NetLogo to load CODAP extensions.

Hope this helps,

Bill