Delete: Difference between revisions

From StarLogo Nova Wiki
Tags: Reverted Visual edit
No edit summary
Tag: Reverted
Line 1: Line 1:
<languages/>
<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 20: Line 23:
*<code>[[Delete Everyone|delete everyone]]</code>
*<code>[[Delete Everyone|delete everyone]]</code>
*<code>[[Delete Agent|delete agent [_]]]</code>
*<code>[[Delete Agent|delete agent [_]]]</code>
</translate>

Revision as of 14:02, 16 March 2023

Other languages:
The Delete Block

delete is a code block part of the agents drawer.

Usage

Deletes the agent executing the stack of code.


Syntax

(in reference to itself) delete

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