Create/es: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>


testing purposes<code></code>


<p id="tooltip">testing purposes again</p>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[Category:Agents]]
<section begin=image/>[[File:Create Block.png|alt=The create block|thumb]]<section end=image/>
{{#vardefine:create|<code>create [_] [▼](s)</code>}}
<section begin=name/>'''<code>create [_] [▼](s)</code>'''<section end=name/> is a [[Special:MyLanguage/Code Block|code block]] part of the [[Special:MyLanguage/Agent|agents]] drawer.
</div>


<span id="Syntax"></span>
<div lang="en" dir="ltr" class="mw-content-ltr">
===Sintaxis===
==Usage==
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
<p id="tooltip"><code>create [_] [▼](s)</code> is used to populate [[Special:MyLanguage/Spaceland|Spaceland]] with [[Special:MyLanguage/Agent|agent]]s.</p>
</div>
 
<div lang="en" dir="ltr" class="mw-content-ltr">
===Syntax===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 12: Line 25:
</div>
</div>


<span id="Nuances"></span>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Para tener en cuenta==
==Nuances==
</div>


Una diferencia importante entre {{#var:create}} y {{#vardefineecho:cedol|<code>[[Create Each Do|crear [_] [▼](s) cada hacer</code>]]}} es eso {{#vardefineecho:cedo|<code>crear [_] [▼](s) cada hacer</code>}} permite que una sección de código se ejecute individualmente para cada [[agent]] que se crea. {{#var:create}} solo crea agentes con el valor predeterminado [[rasgos]]s en el centro de [[Spaceland]].
<div lang="en" dir="ltr" class="mw-content-ltr">
An important difference between {{#var:create}} and {{#vardefineecho:cedol|<code>[[Special:MyLanguage/Create Each Do|create [_] [▼](s) each do</code>]]}} is that {{#vardefineecho:cedo|<code>create [_] [▼](s) each do</code>}} allows a section of code to run individually for each [[Special:MyLanguage/Agent|agent]] that is created. {{#var:create}} only creates agents with the default [[Special:MyLanguage/Traits|trait]]s in the center of [[Special:MyLanguage/Spaceland|Spaceland]].
</div>


{{#var:cedol}} puede ser útil para [[rasgos aleatorios]] y [[scattering agents without effecting others]].
<div lang="en" dir="ltr" class="mw-content-ltr">
{{#var:cedol}} can be useful for [[Special:MyLanguage/Random|randomizing traits]] and [[Special:MyLanguage/Scatter|scattering agents without effecting others]].
</div>


Bloques relacionados
<div lang="en" dir="ltr" class="mw-content-ltr">
==Related Blocks==
*{{#var:cedol}}
</div>


<span id="Relevant_Video_Resources"></span>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Recursos en video relevantes==
==Relevant Video Resources==
</div>


==Actividades relevantes==
<div lang="en" dir="ltr" class="mw-content-ltr">
==Relevant Activities==
[[Category:Code Block]]
[[Category:Code Block]]
</div>

Revision as of 15:53, 21 June 2023

Other languages:


The create block

create [_] [▼](s) is a code block part of the agents drawer.

create [_] [▼](s) is used to populate Spaceland with agents.

Syntax

create [Textbox: Number] [Dropdown: Type of Agent](s)

Nuances

An important difference between create [_] [▼](s) and create [_] [▼](s) each do is that create [_] [▼](s) each do allows a section of code to run individually for each agent that is created. create [_] [▼](s) only creates agents with the default traits in the center of Spaceland.

Relevant Video Resources

Relevant Activities