Re: is this ex.err bug?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sun, 30 Jan 2005 20:50:20 -0800, Robert Craig
<guest at RapidEuphoria.com> wrote:

>One could argue that I shouldn't report
>a for-loop variable at all in ex.err if the loop has terminated,
>but I think the extra information might be useful to someone,
>although a bit confusing.
OK, I'll argue for it blink
I think if a newbie sees rowIndex[1]=10 but rowIndex[2]=5, they'll
know the second loop has exited prematurely, so their natural reaction
will be to code:

	end for
	if rowIndex!=10 then	-- loop abandoned?

Of course the best thing would be to show eg:

	[rowIndex = 10]
	[rowIndex = 5]
	rowIndex = 3

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu