Delete: Difference between revisions

From StarLogo Nova Wiki
No edit summary
No edit summary
Line 1: Line 1:
<translate>
[[Category:Agents]]
[[Category:Agents]]
<section begin=image/>[[File:Delete Block.png|alt=The Delete Block|thumb]]<section end=image/>
<section begin=image/>[[File:Delete Block.png|alt=The Delete Block|thumb]]<section end=image/>
Line 15: Line 17:
*<code>[[delete everyone]]</code>
*<code>[[delete everyone]]</code>
*<code>[[delete agent|delete agent [_]]]</code>
*<code>[[delete agent|delete agent [_]]]</code>
</translate>

Revision as of 18:41, 27 June 2023

The Delete Block

delete is a code block part of the agents drawer.

Usage

Deletes the agent executing the stack of code.

Nuances

delete does not delete all agents of a type. delete deletes only the single agent that runs the block. See related blocks for other code blocks with similar delete functions.

No code may be placed underneath the delete block as there will be no agent available to run the code.

Related Blocks