<div dir="ltr">But the trigger of the crash was incorrect syntax of the input into the program (which is acting as a compiler/interpreter)...<div class="gmail_extra"><br><br><div class="gmail_quote">On 2 September 2013 21:54, Calum Munro <span dir="ltr">&lt;<a href="mailto:munrocs@aquinas.vic.edu.au" target="_blank">munrocs@aquinas.vic.edu.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
<br>
I&#39;m with you. The program runs, so no syntax error. The program crashes when given an incorrect input, that&#39;s a run time error for me.<br>
<br>
Calum<br>
<br>
On 02/09/2013, at 2:37 PM, &quot;Andrew Pate&quot; &lt;<a href="mailto:arp@mentonegrammar.net">arp@mentonegrammar.net</a>&lt;mailto:<a href="mailto:arp@mentonegrammar.net">arp@mentonegrammar.net</a>&gt;&gt; wrote:<br>
<br>
Hi all,<br>
I have purchased the IARTV trial exams and am wondering about one of their multi-choice answers.Your help is, as always, appreciated.<br>
<br>
The question asks about a function written which is called “POP”, but “when testing his stack Alan accidentally types in PIP and the program crashes”.<br>
The multi-choice answers has us choose from runtime error or syntax error.<br>
<br>
They suggest the answer is syntax error (and explain that a name, expression etc…that the compiler cannot understand causes a syntax error)<br>
<br>
Now, if the program IS RUNNING and THEN crashes, does that not imply that it compiled? Therefore, it is a runtime error (where validation of input was not handled) or am I thinking too language specifically?<br>
<br>
Thanks<br>
<br>
<br>
Andrew Pate<br>
Technology Faculty Coordinator<br>
<br>
Mentone Grammar<br>
63 Venice Street, Mentone<br>
Victoria, Australia 3194<br>
T <a href="tel:%2B61%203%209584%204211" value="+61395844211">+61 3 9584 4211</a>   F <a href="tel:%2B61%203%209581%203290" value="+61395813290">+61 3 9581 3290</a><br>
M  +61 3 0416 228 436<br>
<a href="mailto:arp@mentonegrammar.net">arp@mentonegrammar.net</a>&lt;mailto:<a href="mailto:arp@mentonegrammar.net">arp@mentonegrammar.net</a>&gt;<br>
<a href="http://www.mentonegrammar.net" target="_blank">www.mentonegrammar.net</a>&lt;<a href="http://www.mentonegrammar.net/" target="_blank">http://www.mentonegrammar.net/</a>&gt;<br>
<br>
&lt;image001.jpg&gt;<br>
Outstanding opportunities<br>
for girls and boys ELC-12<br>
<br>
<br><br></blockquote></div>-- <br><div dir="ltr">--<div>Mark Kelly</div><div>mark AT vceit DOT com</div><div><a href="http://vceit.com" target="_blank">http://vceit.com</a></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;background-color:rgb(253,253,255)"><font size="1">Day 19, I have successfully conditioned my master to smile and write in his book every time I drool.- Pavlov&#39;s Dog</font></span><br>

</div><div><br></div></div>
</div></div>