Delete: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Tag: Reverted
Tags: Reverted Visual edit
Line 10: Line 10:
===Syntax===
===Syntax===


<code>delete</code>
<code>(in reference to itself) delete</code>


==Nuances==
==Nuances==

Revision as of 17:29, 1 February 2023

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