https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/57649&feed=atom&action=history
Microsoft KB Archive/57649 - Revision history
2024-03-28T11:34:03Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/57649&diff=331760&oldid=prev
X010: Text replacement - ">" to ">"
2020-07-21T09:19:30Z
<p>Text replacement - ">" to ">"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:19, 21 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l62">Line 62:</td>
<td colspan="2" class="diff-lineno">Line 62:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="fixed_text"> X-resolution < Y-resolution: WINDOW(-320,-440)-(320,440) '640x880</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="fixed_text"> X-resolution < Y-resolution: WINDOW(-320,-440)-(320,440) '640x880</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution = Y-resolution: WINDOW(-320,-240)-(320,240) '640x480</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution = Y-resolution: WINDOW(-320,-240)-(320,240) '640x480</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> X-resolution <del style="font-weight: bold; text-decoration: none;">&gt; </del>Y-resolution: WINDOW(-620,-240)-(620,240) '1240x480</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> X-resolution <ins style="font-weight: bold; text-decoration: none;">> </ins>Y-resolution: WINDOW(-620,-240)-(620,240) '1240x480</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </pre></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Each program draws a circle using the CIRCLE statement, with a center at (0, 0) and a radius of 100. A box is then drawn using the LINE statement, with its center at (0, 0) and sides with a length of 200. In a coordinate system of one-to-one, the default in SCREEN 12, this produces a circle and a box in the center of the screen with the circle tangent to all four sides of the box. When the coordinate system is altered using a WINDOW statement, the circle always remains tangent to the left and right sides of the box, but either falls short of or exceeds the top and bottom of the box.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Each program draws a circle using the CIRCLE statement, with a center at (0, 0) and a radius of 100. A box is then drawn using the LINE statement, with its center at (0, 0) and sides with a length of 200. In a coordinate system of one-to-one, the default in SCREEN 12, this produces a circle and a box in the center of the screen with the circle tangent to all four sides of the box. When the coordinate system is altered using a WINDOW statement, the circle always remains tangent to the left and right sides of the box, but either falls short of or exceeds the top and bottom of the box.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l85">Line 85:</td>
<td colspan="2" class="diff-lineno">Line 85:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Code Example 3 ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Code Example 3 ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">'*** X-resolution <del style="font-weight: bold; text-decoration: none;">&gt; </del>Y-resolution ***</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">'*** X-resolution <ins style="font-weight: bold; text-decoration: none;">> </ins>Y-resolution ***</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>SCREEN 12</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>SCREEN 12</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>WINDOW(-620,-440)-(620,440)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>WINDOW(-620,-440)-(620,440)</div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/57649&diff=302834&oldid=prev
X010: Text replacement - "<" to "<"
2020-07-21T08:26:28Z
<p>Text replacement - "<" to "<"</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:26, 21 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l60">Line 60:</td>
<td colspan="2" class="diff-lineno">Line 60:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When an ellipse is generated using the CIRCLE statement, the ellipse will never be wider or taller than the radius value given in the CIRCLE statement using the horizontal resolution of the current coordinate system. The following code examples demonstrate this using all three possibilities, using VGA SCREEN mode 12:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When an ellipse is generated using the CIRCLE statement, the ellipse will never be wider or taller than the radius value given in the CIRCLE statement using the horizontal resolution of the current coordinate system. The following code examples demonstrate this using all three possibilities, using VGA SCREEN mode 12:</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="fixed_text"> X-resolution <del style="font-weight: bold; text-decoration: none;">&lt; </del>Y-resolution: WINDOW(-320,-440)-(320,440) '640x880</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="fixed_text"> X-resolution <ins style="font-weight: bold; text-decoration: none;">< </ins>Y-resolution: WINDOW(-320,-440)-(320,440) '640x880</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution = Y-resolution: WINDOW(-320,-240)-(320,240) '640x480</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution = Y-resolution: WINDOW(-320,-240)-(320,240) '640x480</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution &gt; Y-resolution: WINDOW(-620,-240)-(620,240) '1240x480</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> X-resolution &gt; Y-resolution: WINDOW(-620,-240)-(620,240) '1240x480</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l67">Line 67:</td>
<td colspan="2" class="diff-lineno">Line 67:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Code Example 1 ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Code Example 1 ===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">'*** X-resolution <del style="font-weight: bold; text-decoration: none;">&lt; </del>Y-resolution ***</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><pre class="codesample">'*** X-resolution <ins style="font-weight: bold; text-decoration: none;">< </ins>Y-resolution ***</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>SCREEN 12</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>SCREEN 12</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>WINDOW(-320,-440)-(320,440)</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>WINDOW(-320,-440)-(320,440)</div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/57649&diff=185541&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:57:20Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB57649"></span>CIRCLE Statement Draws Ellipses Based on Horizontal Resolution =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 57649<br />
<br />
Article Last Modified on 11/21/2006<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
* Microsoft QuickBasic 4.0<br />
* Microsoft QuickBASIC 4.0b<br />
* Microsoft QuickBasic 4.5 for MS-DOS<br />
* Microsoft BASIC Compiler 6.0<br />
* Microsoft BASIC Compiler 6.0b<br />
* Microsoft BASIC Professional Development System 7.0<br />
* Microsoft BASIC Professional Development System 7.1<br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q57649<br />
<br />
</div><br />
<div class="summary_section"><br />
<br />
== SUMMARY ==<br />
<br />
Circles and ellipses generated using the CIRCLE statement are based on the current horizontal resolution of the current coordinate system. This can result in what may appear to be incorrect circles or ellipses for the radius value given in the CIRCLE statement.<br /><br />
<br /><br />
This information applies to Microsoft QuickBasic versions 4.0, 4.0b, and 4.5, to Microsoft Basic Compiler versions 6.0, 6.0b for MS-DOS, and to Microsoft Basic Professional Development System (PDS) version 7.0 and 7.1 for MS-DOS.<br />
<br />
</div><br />
<div class="moreinformation_section"><br />
<br />
== MORE INFORMATION ==<br />
<br />
When an ellipse is generated using the CIRCLE statement, the ellipse will never be wider or taller than the radius value given in the CIRCLE statement using the horizontal resolution of the current coordinate system. The following code examples demonstrate this using all three possibilities, using VGA SCREEN mode 12:<br />
<pre class="fixed_text"> X-resolution &lt; Y-resolution: WINDOW(-320,-440)-(320,440) '640x880<br />
X-resolution = Y-resolution: WINDOW(-320,-240)-(320,240) '640x480<br />
X-resolution &gt; Y-resolution: WINDOW(-620,-240)-(620,240) '1240x480<br />
</pre><br />
Each program draws a circle using the CIRCLE statement, with a center at (0, 0) and a radius of 100. A box is then drawn using the LINE statement, with its center at (0, 0) and sides with a length of 200. In a coordinate system of one-to-one, the default in SCREEN 12, this produces a circle and a box in the center of the screen with the circle tangent to all four sides of the box. When the coordinate system is altered using a WINDOW statement, the circle always remains tangent to the left and right sides of the box, but either falls short of or exceeds the top and bottom of the box.<br />
=== Code Example 1 ===<br />
<br />
<pre class="codesample">'*** X-resolution &lt; Y-resolution ***<br />
SCREEN 12<br />
WINDOW(-320,-440)-(320,440)<br />
CIRCLE(0, 0), 100<br />
LINE(-100, -100)-(100, 100),,B<br />
END<br />
</pre><br />
=== Code Example 2 ===<br />
<br />
<pre class="codesample">'*** X-resolution = Y-resolution ***<br />
SCREEN 12<br />
WINDOW(-320,-240)-(320,240) 'Commenting this line out gives same result<br />
CIRCLE(0, 0), 100<br />
LINE(-100, -100)-(100, 100),,B<br />
END<br />
</pre><br />
=== Code Example 3 ===<br />
<br />
<pre class="codesample">'*** X-resolution &gt; Y-resolution ***<br />
SCREEN 12<br />
WINDOW(-620,-440)-(620,440)<br />
CIRCLE(0, 0), 100<br />
LINE(-100, -100)-(100, 100),,B<br />
END<br />
</pre><br />
<br />
</div><br />
<br /><br />
<br />
Additional query words: QuickBas BasicCom 4.00 4.00b 4.50 6.00 6.00b 7.00 7.10<br />
<br />
Keywords: KB57649<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd