If

From StarLogo Nova Wiki
Revision as of 19:28, 10 August 2022 by Admin (talk | contribs) (Created page with "Category:Logic <section begin=image/>alt=The if block|thumb<section end=image/> <section begin=name/>'''<code>if [_]</code>'''<section end=name/> is a code block part of the Logic drawer. ==Usage== <code>if [_]</code> takes in comparative statements from the Logic drawer to test for a condition. The agent will only follow commands attached to the hook if the statement is true. ===Syntax=== <code>if [Special:Test]</code> ==Nuances==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The if block

if [_] is a code block part of the Logic drawer.

Usage

if [_] takes in comparative statements from the Logic drawer to test for a condition. The agent will only follow commands attached to the hook if the statement is true.

Syntax

if [Special:Test]

Nuances

Related Blocks