Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwcybercourse@xxxxxxxxxxxxxxx>
Subject: Morse Code
From: "Gary McCallister" <mccallis@xxxx>
Date: Tue, 26 Feb 2002 12:35:02 -0700

A couple of weeks ago I posed a problem about wrapping. The situation was a 
student wanted to type in Morse Code. he wrote that but was having problems 
making the turtle act like a carriage return on a typewriter; that is at the 
end of a line go back to the beginning of the screen but one linelower. The 
suggestion from this forum was to use the coordinate system anwhen it reached 
a certain position to return. That worked for the first line but then each 
line has to go another few steps lower and that was difficult to do.
The student discovered the solution by himself. He does use the coordinate 
system, but when he gets to the end instead of going back he simply changes 
the turtles heading and goes forward a set amount, enough to wrap and on the 
beginning position, then straightens the turtle out and goes on tothe second 
line.. This takes the wrap feature and makes it an ally and each line can work 
the same. I hope to be able to post his program eventually, but he is still 
refining it and didn't want it out there yet. I was just so tickled at his 
solution I wanted to share it. I was so hung up on the "return" aspect, I just 
didn't see that he could use wrap to his advantage.=20=20



  • Previous by thread: apologies for double posting
  • Next by thread: RE: Morse Code

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008