Skip to main content

Lists

List blocks provide functionality for creating and manipulating lists and collections of data.

Overview

List blocks enable you to work with ordered collections of data in your StarLogo Nova simulations. These blocks are essential for storing multiple values, managing collections of agents or data, and performing operations on groups of items.

Block Categories

List Creation

  • List - Creates a new list or represents a list value

List Modification

List Access

  • Item Number In - Gets the item at a specific index position in a list
  • Length Of - Gets the number of items in a list

List Searching

  • Index Of In - Finds the index position of a specific item in a list
  • Contains - Checks if a list contains a specific item