Using lists in SLN 2.0

Posted November 23, 2017 by Rizzi

I'm experimenting with Lists in SLN 2.0 with a very simple example: I want a program that creates an even and random number of turtles from 2 to 10 when I push the 'setup' button.

Below is the code that I tried with no success.

Code screenshot

Does anyone can help me on how using lists in SLN 2.0?

Thanks a ton.


Submitted by Evgeniy Patarakin on Mon, 05/20/2019 - 13:15 · Permalink

I have not found any information about lists in SLN. I tried to save a list of turtles who touched the ball.

Submitted by tbrass on Thu, 01/20/2022 - 13:36 · Permalink

I've got a student who would like to generate a list of messages and have them randomly appear.


  • You Win!
  • Congratulations!
  • Nice job!

We can pull single messages easily, but I haven't worked with lists before and haven't been able to figure it out.