Delete: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
Tag: Reverted
m (Reverted edits by Admin (talk) to last revision by Rev)
Tag: Rollback
Line 1: Line 1:
<languages/>
[[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/>
<translate>
<section begin=name/>'''<code>delete</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.
<!--T:1-->
<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.
</translate>
 
<translate>
==Usage== <!--T:2-->
</translate>
 
<p id="tooltip">
<translate>
<!--T:3-->
Deletes the [[Special:MyLanguage/Agent|agent]] executing the [[Special:MyLanguage/Stack|stack]] of code.
</translate>
</p>
 
<translate>
===Syntax=== <!--T:4-->
</translate>


<code>
==Usage==
<translate>
<!--T:5-->
(in reference to itself) delete
</translate>
</code>


<translate>
Deletes the [[agent]] executing the [[stack]] of code.
==Nuances== <!--T:6-->
</translate>


<translate>
==Nuances==
<!--T:7-->
<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.


<!--T:8-->
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.
</translate>
<translate>
==Related Blocks== <!--T:9-->
</translate>
*<code><translate>
<!--T:10-->
[[Special:MyLanguage/Delete Everyone|delete everyone]]</translate></code>


*<code><translate>
==Related Blocks==
<!--T:11-->
*<code>[[delete everyone]]</code>
[[Special:MyLanguage/Delete Agent|delete agent [_]]]</translate></code>
*<code>[[delete agent|delete agent [_]]]</code>

Revision as of 19:58, 16 May 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