[MWForum]large coordinates for "setpos" command
Jeff Knope
mwforum@lists.mathcats.com
Mon, 13 Sep 2004 06:09:15 -0700
<BR>
<BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">--------- Original Message --------<BR>From:
mwforum@lists.mathcats.com<BR>To: "MWForum@lists.mathcats.com"
<MWForum@lists.mathcats.com><BR>Subject: [MWForum]large coordinates
for "setpos" command<BR>Date: 09/13/04 11:32<BR><BR><FONT face="Courier New"
size=2>hello all!<BR>I want to know the behavier of the turtle against
various screen size in <BR>getting the command like "setpos [-300 -200],
sometime its goes to the <BR>lowest point of the screen,and sometimes its
goes up, how can I know what is <BR>the limit of coordinates of each
size,and what's the turtle does is a turn, <BR>can we calculate where setpos
will be (when its larger than screen)' I <BR>search information in Help and
didn't find....<BR>thanks
Zehava<BR><BR>_________________________________________________________________<BR>MSN
8 with e-mail virus protection service: 2 months FREE* <BR><A class=autolink
href="http://join.msn.com/?page=features/virus"
target=_blank>http://join.msn.com/?page=features/virus</A><BR><BR>_______________________________________________<BR>MWForum
mailing list<BR><A class=autolink
href="mailto:MWForum@lists.mathcats.com">MWForum@lists.mathcats.com</A><BR><A
class=autolink href="http://lists.mathcats.com/mailman/listinfo/mwforum"
target=_blank>http://lists.mathcats.com/mailman/listinfo/mwforum</A><BR>Attachments
archived at:<BR><A class=autolink
href="http://www.mathcats.com/mwforum/attachments.html"
target=_blank>http://www.mathcats.com/mwforum/attachments.html</A><BR>To
unsubscribe or for administrative questions contact
<BR>mailto:mwforum-admin@lists.mathcats.com<BR><BR>Hi Zehava,<BR><BR>I have
only a partial answer to your question. The behavior of a turtle "bouncing"
off one margin and showing up someplace else on the screen is a function of
Projectsize creating a display boundary. <BR><BR>It is probably possible to
calculate the amount by which a setpos is outside the boundaries created by
Projectsize. I believe the turtle shows up the same distance inside the
opposite boundary as it is outside the exceeded boundary. <BR><BR>Sometimes
this can be used to interesting effect, as in the Lineweaver program I've
previously posted.<BR> <BR>More often, in my uses, it is an undesirable
effect. I've found issuing a <STRONG>setprojectsize</STRONG> [2000 2000]
when I first launch MW will get rid of most all of that "bouncing"
effect. The only problem is the turtle will then be out of sight, off
the screen. In my uses this is not a problem. But in most applications it
will leave the user bewildered.<BR><BR>Older versions of Logo had the
commands <STRONG>fence</STRONG> and <STRONG>nofence,</STRONG> which gave the
option of having the "bounce" effect or not. Let me take this chance to urge
LCSI to restore these very useful commands.<BR><BR>Good luck,
Jeff</FONT></DIV></BLOCKQUOTE><BR />
<BR />
________________________________________________<BR />
Message sent using ASIS WebMail<BR />