[Tutor] need help tracing a syntax error
alan.gauld at freenet.co.uk
Sun Mar 12 01:43:03 CET 2006
[CC'd to the list...]
>> Also for the error merssage can you cut n paste the full error since
>> they contain a lot of useful info, do not just give us a description of
>> the error.
>no error message was provided.
> It only highlighted the variable in the If statement.
But that's exactly what we need to see. Do not describe the error send
the actual message including the line that it highlights. There are often
subtle hints in those messages that help pinpoint the error, so simply
saying it was a syntax error and what was highlighted is not as useful
as sending us the actual text of the error.
In this case it wouldn't have made much difference since it was the
uppercase keywords, but in other scenarios it might make all the difference.
I can't emphasise this enough, including the complete actual error message
is one of the most useful things you can do to help us help you.
Author of the learn to program web tutor
More information about the Tutor