Re: [Tutor] need help tracing a syntax error

2006-03-12 Thread Alan Gauld
> There was no actual message. The syntax error message to me > occurred in a dialog box which closed immediately. What development tool are you using? I would change it, if it doesn't display a full error trace then it is depriving you of one of the most useful tools in Python! > It's not

Re: [Tutor] need help tracing a syntax error

2006-03-11 Thread Alan Gauld
[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 w

Re: [Tutor] need help tracing a syntax error

2006-03-11 Thread Alan Gauld
Hi, It would help us a lot if you send us a cut n paste of the actual code, not retyped versions. Particularly for syntax erros since a single wrong character might be all that's wrong and when you retype it its OK. I'm assuming you are retyping from the fact that you have uppercase keywords e

Re: [Tutor] need help tracing a syntax error

2006-03-11 Thread Danny Yoo
> I get the message > > syntax error > > > and it highlightsr2 > > in the line > > .If r2 == 1: Hi Kermit, Next time, rather than describe the error message here in paraphrase, please copy-and-paste it in. Your paraphrase of the situation here hides useful information. We would rather that

Re: [Tutor] need help tracing a syntax error

2006-03-11 Thread Python
On Sat, 2006-03-11 at 10:42 -0500, Kermit Rose wrote: > I get the message > > syntax error > > > and it highlightsr2 > > in the line > > .If r2 == 1: if should be lower case (all of the python syntax words are lower case) You will also need to change Else and Elif Int should probably b