<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>They are most like a Hash in Ruby, or an assoc array. They can have multiple data types in them. It’s one of the many reasons why it is known as a loosely typed language. </div>
<div><br>
</div>
<div>
<table width="540" border="0" cellpadding="1" cellspacing="0" style="color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);">
<tbody>
<tr>
<td style="margin: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(197, 12, 30);">
<span style="font-size: 10pt; color: rgb(2, 67, 125);"><strong>David Howard</strong><br>
</span><span style="color: rgb(197, 12, 30); font-size: 8.5pt;">Head of Learning Systems</span></td>
<td align="right" nowrap="nowrap" style="margin: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(197, 12, 30);">
<a href="http://twitter.com/StMichaelsGS" style="color: navy; text-decoration: none; outline: 0px;"><img src="https://services.stmichaels.vic.edu.au/community/icons/Icon_Twitter.png" border="0" style="max-width: 100%; height: 26px;"></a> <a href="https://services.stmichaels.vic.edu.au/fb.cfm" style="color: navy; text-decoration: none; outline: 0px;"><img src="https://services.stmichaels.vic.edu.au/community/icons/Icon_FB.png" border="0" style="max-width: 100%; height: 26px;"></a> <a href="https://www.linkedin.com/company/st-michael%27s-grammar-school" style="color: navy; text-decoration: none; outline: 0px;"><img src="https://services.stmichaels.vic.edu.au/community/icons/Icon_LinkedIn.png" border="0" style="max-width: 100%; height: 26px;"></a></td>
</tr>
<tr valign="top">
<td style="margin: 0px;"><span style="font-size: 7.5pt; color: rgb(2, 67, 125);"><strong>25 Chapel Street, St Kilda VIC 3182 Australia</strong></span></td>
<td rowspan="2" align="right" style="margin: 0px;"><a href="https://www.stmichaels.vic.edu.au/" style="color: navy; text-decoration: none; outline: 0px;"><img src="https://services.stmichaels.vic.edu.au/community/logo/SMGS_Logo_tall_100_2013_96d.png" border="0" width="113" height="75" style="max-width: 100%; height: 75px; width: 113px;"></a></td>
</tr>
<tr valign="top">
<td style="margin: 0px;">
<table cellpadding="1" cellspacing="0" style="width: 353px;">
<tbody>
<tr>
<td nowrap="nowrap" width="13" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<strong>t</strong></td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
+61 3 8530 3272 </td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<strong>e</strong> </td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<a href="mailto:dhoward@stmichaels.vic.edu.au" style="color: rgb(2, 67, 125); text-decoration: none; outline: 0px; font-size: 7.5pt;">dhoward@stmichaels.vic.edu.au</a></td>
</tr>
<tr>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<strong>f</strong></td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
+61 3 9510 3161</td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<strong>w</strong></td>
<td nowrap="nowrap" style="margin: 0px; font-size: 7.5pt; color: rgb(2, 67, 125);">
<a href="https://www.stmichaels.vic.edu.au/" style="color: rgb(2, 67, 125); text-decoration: none; outline: 0px; font-size: 7.5pt;">stmichaels.vic.edu.au</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="margin: 0px;"><span style="font-size: 6.3pt; color: rgb(2, 67, 125);">CRICOS Provider 00345G</span></td>
</tr>
<tr>
<td colspan="2" style="margin: 0px;"><span style="font-size: 6.5pt; color: rgb(2, 67, 125);">Please consider the environment before printing this email</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Mark <<a href="mailto:mark@vceit.com">mark@vceit.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>Year List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Date: </span>Friday, 12 June 2015 2:25 pm<br>
<span style="font-weight:bold">To: </span>Year List <<a href="mailto:sofdev@edulists.com.au">sofdev@edulists.com.au</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Year 12 SofDev] Arrays with mixed data types<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">I'm not familiar with the inner workings of PHP, but my research suggests their 'arrays' are not exactly the same nature as most other languages.
<div><br>
<div>It's sort of like when TV guides categorise 'Big Brother' as 'entertainment' ... a non-classical use of the term.</div>
</div>
<div><br>
</div>
<div>I ask because I'm writing an exam with a question about whether a 2D array with mixed data types is possible (or wise).</div>
<div><br>
</div>
<div>Cheers</div>
<div>Mark</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 12 June 2015 at 14:09, Laurie Savage <span dir="ltr">
<<a href="mailto:08327998@pvgc.vic.edu.au" target="_blank">08327998@pvgc.vic.edu.au</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">
<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>
<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><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>
<br>
_______________________________________________<br>
<a href="http://www.edulists.com.au" 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" 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" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" 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" target="_blank">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<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><i><br>
</i></div>
<div><span style="font-size:12.6666669845581px">>> Witty sig goes HERE <<</span></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>
</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>