The World/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 3: Line 3:
<section begin=image/>
<section begin=image/>
[[File:The world.png|alt=The world|thumb]]
[[File:The world.png|alt=The world|thumb]]
<section end=image/>
<section end=image/><p id="tooltip">Returns an agent (data type) that represents The World.</p>
 
<section begin="name" />'''<code>The World</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.
<section begin="name" />'''<code>The World</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.


== Usage==
== Usage==
<p id="tooltip"><code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).</p>
<code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).


===Syntax===
===Syntax===

Revision as of 14:58, 8 August 2023

Other languages:


The world

Returns an agent (data type) that represents The World.

The World is a code block part of the Environment drawer.

Usage

The World refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).

Syntax

[Textbox Insert] The World

Common Uses

Useful for simulations that require recursion, or agents that can act as the base case.

Nuances

Related Blocks