Delete/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:
[[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/>
<section begin=name/>'''<code>delete</code>'''<section end=name/> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
<section begin=name/>'''<code>delete</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.


==Usage==
==Usage==


<p id="tooltip">
Deletes the [[agent]] executing the [[stack]] of code.
Deletes the [[Special:MyLanguage/Agent|agent]] executing the [[Special:MyLanguage/Stack|stack]] of code.
</p>
 
===Syntax===
 
<code>
(in reference to itself) delete
</code>


==Nuances==
==Nuances==
 
<code>delete</code> does not delete all [[agent]]s of a type. <code>delete</code> deletes only the single agent that runs the block. See [[#Related Blocks|related blocks]] for other code blocks with similar delete functions.
<code>delete</code> does not delete all [[Special:MyLanguage/Agent|agent]]s of a type. <code>delete</code> deletes only the single agent that runs the block. See [[#Related Blocks|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.
No code may be placed underneath the delete block as there will be no agent available to run the code.


==Related Blocks==
==Related Blocks==
 
*<code>[[delete everyone]]</code>
*<code>[[Special:MyLanguage/Delete Everyone|delete everyone]]</code>
*<code>[[delete agent|delete agent [_]]]</code>
 
*<code>[[Special:MyLanguage/Delete Agent|delete agent [_]]]</code>

Revision as of 20:25, 20 June 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.

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