[MWForum]Numeric colors in MW change under Win2K and XP

mwforum@lists.mathcats.com mwforum@lists.mathcats.com
Thu, 18 Dec 2003 11:30:29 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3C59D.64F1EE60
Content-Type: text/plain;
	charset="iso-8859-1"

Can anyone explain what is going on with my numeric colors ?

Using MW 2.05 on a Windows 98 platform I have no problem drawing a rectangle
and filling it with a color and then using colorunder to test for a color,
as in:
setc 90
fill
if colorunder = 90 [do_this]

However, when I move the code to a Windows 2000 or XP platform, the colors
that I set and the colors reported are often not the same:
setc 90
fill
show colorunder
80.1

setc 104
fill
show colorunder
104

setc 103
fill
show colorunder
102.8


Some colors stay the same as set, and some change to a different, fractional
number. So far, all fractional numbers appear to be precisely a decimal
tenth, but this is very confusing. It makes it fairly difficult to use
colorunder to test a color, unless you manually verify all the colors that
you have set. Anyone have any ideas?

Randal T. Wortman

------_=_NextPart_001_01C3C59D.64F1EE60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>Numeric colors in MW change under Win2K and XP</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Can anyone explain what is going on =
with my numeric colors ?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Using MW 2.05 on a Windows 98 platform =
I have no problem drawing a rectangle and filling it with a color and =
then using colorunder to test for a color, as in:</FONT></P>

<P><B><FONT SIZE=3D2 FACE=3D"System">setc 90</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">fill</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">if colorunder =3D 90 =
[do_this]</FONT></B>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">However, when I move the code to a =
Windows 2000 or XP platform, the colors that I set and the colors =
reported are often not the same:</FONT></P>

<P><B><FONT SIZE=3D2 FACE=3D"System">setc 90</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">fill</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">show colorunder</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">80.1</FONT></B>
</P>

<P><B><FONT SIZE=3D2 FACE=3D"System">setc 104</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">fill</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">show colorunder</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">104</FONT></B>
</P>

<P><B><FONT SIZE=3D2 FACE=3D"System">setc 103</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">fill</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">show colorunder</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"System">102.8</FONT></B>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Some colors stay the same as set, and =
some change to a different, fractional number. So far, all fractional =
numbers appear to be precisely a decimal tenth, but this is very =
confusing. It makes it fairly difficult to use colorunder to test a =
color, unless you manually verify all the colors that you have set. =
Anyone have any ideas?</FONT></P>

<P><B><I><FONT COLOR=3D"#0000FF" FACE=3D"Arial">Randal T. =
Wortman</FONT></I></B><I></I>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3C59D.64F1EE60--