aidy wrote:
> Hi,
>
> This is my code and I have printed out some de-bug statements. I
> haven't a clue why the task = 'validate' switch statement is not being
> executed.
>
> <code>
[...]
Check your indentation. You read a line. If you recognize it, you set
the task. If you don't recognize it, you print "the task = ..." and do
something related to the task.
Since "Expected-Result" is recognized, you never get to process the
validate action. You need to intercalate a blank line or something (or
change your algorithm).
--