On Mar 4, 2007, at 11:19 AM, Ken Dibble wrote:
> I didn't trim the above just in case you need a refresher on where
> we left
> off yesterday.
That's really unnecessary, and is strongly discouraged. It sucks to
have to hit PageDown a dozen times to actually reach some content.
Every message is archived. Just quote the relevant part; if more
info is needed, I can always look at the archive.
> That's right, it's throwing an error on a commented line of code
> that is
> syntactically correct! The line is the last thing in my setupBizobj()
> method, where "biz" is a valid reference to the bizobj.
>
> If I remove that line, the form works!! Flawlessly.
>
> But, of course, errors should not be thrown on commented code, even
> if that
> code is wrong--which in this case, it wasn't.
>
> I'd have to guess that something in your reversion to an earlier
> version of
> the Class Designer not only fixed the crash bug but also changed
> something
> in how the form code was being interpreted.
The only change I've made in the last few weeks that affect code
interpretation is one that trims trailing newlines off of code
methods, since they were throwing errors on Windows. I don't know why
a trailing comment should cause a syntax error.
Try this: instead of removing that comment, add a nonsense line
afterwards, such as 'x = 1'. Now run the code: does it still throw an
error?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users