> Thanks Jay for the help.
>
[quoted text clipped - 3 lines]
> I would never have known about the code in the Interpreter being
> broken.

Signature
.NET: It's About Trust!
http://vfred.mvps.org
>> Thanks Jay for the help.
>>
[quoted text clipped - 7 lines]
>you do with it may even surprise you, but it seems to me it's just executing
>instructions as you enter them.
Hi Karl,
I'd say it's broken. If you explicitly set the .LockAspectRatio
parameter to True, you have every right to expect that setting one
dimension of the picture will adjust the other dimension to... *lock*
the damn aspect ratio! You don't expect to have to fiddle around with
floating point math and maintain your own variables. If you want to do
those things, then you can set .LockAspectRatio to False, or ignore it
and let it take its default value of False.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
Karl E. Peterson - 15 Feb 2007 21:17 GMT
> I'd say it's broken. If you explicitly set the .LockAspectRatio
> parameter to True, you have every right to expect that setting one
[quoted text clipped - 3 lines]
> those things, then you can set .LockAspectRatio to False, or ignore it
> and let it take its default value of False.
Well, you can say _whatever_ you want, it doesn't change one simple fact: If you
rely on assumptions and expectations, as a developer, you will spend many
frustrating hours banging your head against the wall and pulling out your own hair.
If you actually write you code to *do* what you want it to do, and not rely on any
sort of default behavior, you spend far less time wondering why the code isn't doing
what you _want_ it to do (especially when it is, in fact, doing what you *told* it
to do! <g>). Note I'm not saying your expectations are unreasonable. The only
thing that's unreasonable here is the expectation that a compiler will act on your
expectations rather than what it's actually provided code to do. These are
machines, afterall. :-)

Signature
.NET: It's About Trust!
http://vfred.mvps.org