Igualar

From StarLogo Nova Wiki
Revision as of 16:42, 14 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The Equals Block

Determines whether the two inputs are equivalent and returns true or false.

Syntax

Inputs in this block:

  1. a number
  2. a number

Example

This is an epidemic model. The blocks above display an agent developing immunity. To accomplish this, sick turtles are identified by checking if they have a red color and then they receive a timer using the yield block before they develop immunity.