Not Equals: Difference between revisions
(updates from Blockument) |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:3--> | |||
<section begin="image"/>[[File:not_equals.png|alt=The Not Equals Block|thumb]]<section end="image"/> | <section begin="image"/>[[File:not_equals.png|alt=The Not Equals Block|thumb]]<section end="image"/> | ||
==Usage== | ==Usage== <!--T:4--> | ||
<!--T:2--> | <!--T:2--> | ||
<p id="tooltip">Determines whether the two inputs are unequal and returns true or false.</p> | <p id="tooltip">Determines whether the two inputs are unequal and returns true or false.</p> | ||
==Syntax== | ==Syntax== <!--T:5--> | ||
<!--T:6--> | |||
Inputs in this block: | Inputs in this block: | ||
#a number | #a number | ||
#a number | #a number | ||
==Example== | ==Example== <!--T:7--> | ||
<!--T:8--> | |||
[[File:not_equals_example.gif|alt=Not Equals example gif|thumb]] | [[File:not_equals_example.gif|alt=Not Equals example gif|thumb]] | ||
[[File:not_equals_example.png|alt=Not Equals example code|thumb]] | [[File:not_equals_example.png|alt=Not Equals example code|thumb]] | ||
<!--T:9--> | |||
The model above is of a debilitating disease. Agents that do not have the disease, as determined by an [[Special:MyLanguage/If|if]] statement (‘if my color != color red’), are able to move normally. While the diseased agents are only able to move at a tenth of their usual speed. The result is a disease that spreads much more slowly, as diseased agents cannot move quickly into groups of healthy agents to infect them. | The model above is of a debilitating disease. Agents that do not have the disease, as determined by an [[Special:MyLanguage/If|if]] statement (‘if my color != color red’), are able to move normally. While the diseased agents are only able to move at a tenth of their usual speed. The result is a disease that spreads much more slowly, as diseased agents cannot move quickly into groups of healthy agents to infect them. | ||
Latest revision as of 15:12, 14 August 2023
Usage
Determines whether the two inputs are unequal and returns true or false.
Syntax
Inputs in this block:
- a number
- a number
Example
The model above is of a debilitating disease. Agents that do not have the disease, as determined by an if statement (‘if my color != color red’), are able to move normally. While the diseased agents are only able to move at a tenth of their usual speed. The result is a disease that spreads much more slowly, as diseased agents cannot move quickly into groups of healthy agents to infect them.