<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
	<id>https://wiki.minerva-apps.com/index.php?action=history&amp;feed=atom&amp;title=Gestione_degli_array_in_console_Windows</id>
	<title>Gestione degli array in console Windows - Cronologia</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.minerva-apps.com/index.php?action=history&amp;feed=atom&amp;title=Gestione_degli_array_in_console_Windows"/>
	<link rel="alternate" type="text/html" href="https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;action=history"/>
	<updated>2026-05-01T16:02:01Z</updated>
	<subtitle>Cronologia della pagina su questo sito</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1123&amp;oldid=prev</id>
		<title>Andrea il 15:28, 11 ago 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1123&amp;oldid=prev"/>
		<updated>2023-08-11T15:28:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Versione delle 15:28, 11 ago 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot; &gt;Riga 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ${#arr[*]}&amp;#160; &amp;#160; &amp;#160; &amp;#160; # Number of items in the array&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ${#arr[*]}&amp;#160; &amp;#160; &amp;#160; &amp;#160; # Number of items in the array&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ${#arr[0]}&amp;#160; &amp;#160; &amp;#160; &amp;#160; # Length of item zero&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ${#arr[0]}&amp;#160; &amp;#160; &amp;#160; &amp;#160; # Length of item zero&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Esempi:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Esempi:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Andrea</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1122&amp;oldid=prev</id>
		<title>Andrea il 15:26, 11 ago 2023</title>
		<link rel="alternate" type="text/html" href="https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1122&amp;oldid=prev"/>
		<updated>2023-08-11T15:26:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;it&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Versione meno recente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Versione delle 15:26, 11 ago 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot; &gt;Riga 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lettura:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Lettura:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; echo ${arr[0]} ${arr[1]}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; echo ${arr[0]} ${arr[1]}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Andrea</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1121&amp;oldid=prev</id>
		<title>Andrea: Creata pagina con &quot;&amp;larr; Torna a Windows Category:Windows  dichiarazione   arr=(Hello World) Assegnazione singola:  arr[0]=Hello  arr[1]=Wor...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.minerva-apps.com/index.php?title=Gestione_degli_array_in_console_Windows&amp;diff=1121&amp;oldid=prev"/>
		<updated>2023-08-11T15:26:11Z</updated>

		<summary type="html">&lt;p&gt;Creata pagina con &amp;quot;&lt;a href=&quot;/index.php?title=GENERALE#Terminale_.2F_Riga_di_comando_Windows&quot; title=&quot;GENERALE&quot;&gt;← Torna a Windows&lt;/a&gt; &lt;a href=&quot;/index.php?title=Categoria:Windows&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Categoria:Windows (la pagina non esiste)&quot;&gt;Category:Windows&lt;/a&gt;  dichiarazione   arr=(Hello World) Assegnazione singola:  arr[0]=Hello  arr[1]=Wor...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[GENERALE#Terminale / Riga di comando Windows|&amp;amp;larr; Torna a Windows]] [[Category:Windows]]&lt;br /&gt;
&lt;br /&gt;
dichiarazione &lt;br /&gt;
 arr=(Hello World)&lt;br /&gt;
Assegnazione singola:&lt;br /&gt;
 arr[0]=Hello&lt;br /&gt;
 arr[1]=World&lt;br /&gt;
Lettura:&lt;br /&gt;
 echo ${arr[0]} ${arr[1]}&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# Dichiarazione array di stringhe&lt;br /&gt;
arrVar=(&amp;quot;AC&amp;quot; &amp;quot;TV&amp;quot; &amp;quot;Mobile&amp;quot; &amp;quot;Fridge&amp;quot; &amp;quot;Oven&amp;quot; &amp;quot;Blender&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# Aggiunta di un elemento&lt;br /&gt;
arrVar+=(&amp;quot;Dish Washer&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lettura:&lt;br /&gt;
 ${arr[*]}         # All of the items in the array&lt;br /&gt;
 ${!arr[*]}        # All of the indexes in the array&lt;br /&gt;
 ${#arr[*]}        # Number of items in the array&lt;br /&gt;
 ${#arr[0]}        # Length of item zero&lt;br /&gt;
 &lt;br /&gt;
Esempi:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
array=(one two three four [5]=five)&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Array size: ${#array[*]}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Array items:&amp;quot;&lt;br /&gt;
for item in ${array[*]}&lt;br /&gt;
do&lt;br /&gt;
    printf &amp;quot;   %s\n&amp;quot; $item&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Array indexes:&amp;quot;&lt;br /&gt;
for index in ${!array[*]}&lt;br /&gt;
do&lt;br /&gt;
    printf &amp;quot;   %d\n&amp;quot; $index&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Array items and indexes:&amp;quot;&lt;br /&gt;
for index in ${!array[*]}&lt;br /&gt;
do&lt;br /&gt;
    printf &amp;quot;%4d: %s\n&amp;quot; $index ${array[$index]}&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Risultato&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Array size: 5&lt;br /&gt;
Array items:&lt;br /&gt;
   one&lt;br /&gt;
   two&lt;br /&gt;
   three&lt;br /&gt;
   four&lt;br /&gt;
   five&lt;br /&gt;
Array indexes:&lt;br /&gt;
   0&lt;br /&gt;
   1&lt;br /&gt;
   2&lt;br /&gt;
   3&lt;br /&gt;
   5&lt;br /&gt;
Array items and indexes:&lt;br /&gt;
   0: one&lt;br /&gt;
   1: two&lt;br /&gt;
   2: three&lt;br /&gt;
   3: four&lt;br /&gt;
   5: five&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
fonti: &lt;br /&gt;
* https://linuxhint.com/bash_append_array/&lt;/div&gt;</summary>
		<author><name>Andrea</name></author>
		
	</entry>
</feed>