<div dir="ltr"><div>If it quacks like an array ...? Could you elaborate on why Python lists ain't arrayz?<br><br></div>Laurie<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Laurie Savage<br><a href="https://sites.google.com/a/pvgc.vic.edu.au/mr-savage/home" target="_blank">https://sites.google.com/a/pvgc.vic.edu.au/mr-savage/home</a><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 12 June 2015 at 13:27, Mark <span dir="ltr"><<a href="mailto:mark@vceit.com" target="_blank">mark@vceit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, codemakers.<div><br></div><div>Most languages require all elements of an array to have a single data type, but I have a nagging suspicion that there is an exception or two.</div><div><br></div><div>e.g. Apparently PHP allows mixed data types in its 'arrays' but I believe PHP 'arrays' are actually more like the lists found in Perl or Python and so are not classical arrays.</div><div><br></div><div>Is there a language that allows true arrays with mixed data types?</div><div><br></div><div>Cheers</div><div>Mark<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><i><br></i></div><div><span style="font-size:12.6666669845581px">Before Facebook, how many people would take a picture of their dinner on a disposable camera, get the photos developed, then go round to your friends' houses and show them all the photo?</span><br></div><div><span style="font-size:12.6666669845581px"><br></span></div><div>-- </div><div><br></div><div>Mark Kelly</div><div><img src="https://docs.google.com/uc?export=download&id=0B4DRNqu3Y8sZMzZhNVhJS3NEXzQ&revid=0B4DRNqu3Y8sZaGY5bUlSU2ZmUlhVYTdLKzBCMGtXdkZhaTBVPQ"><br></div><div><a href="http://vceit.com" target="_blank">http://vceit.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" rel="noreferrer" target="_blank">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe<br>
IT Software Development Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" rel="noreferrer" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html" rel="noreferrer" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" rel="noreferrer" target="_blank">http://www.vitta.org.au</a> - VITTA Victorian Information Technology Teachers Association Inc<br>
<a href="http://www.swinburne.edu.au/ict/schools" rel="noreferrer" target="_blank">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<br></blockquote></div><br></div>