[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> Re: MswLogo



MSWLogo has 1024 "clipboards" not just one. The real "Windows" clipboard
is
is associated with only one of them, clipboard "0" (or index 0) I refer
to
these as "bitmap buffers" in the documentation.

MSWLogo as you know also has, coincidentally, 1024 turtles.
When you "bitmap" a turtle, your mapping it to the corresponding
clipboard.

So load several images into several clipboards and map them to the
turtle.

SETBITINDEX n
BITCOPY x y
SETTURTLE n
BITMAPTURTLE

The "DEMO" does just this by drawing 8 numbers with LABEL on the screen
and
copying them off the screen into "bitmap buffers" mapping each number to
8
different turtles.

You cannot load an image directly from the disk into a turtle.
But all the pieces are there to write simple procedure that loads
an image off the disk directly to any turtle, if thats what your
looking for.

to loadturtle :filename :turtle
end

Jim Burns wrote:
> 
> Hi,
> 
> Been playing with MSWLogo, and I'm hoping you can entertain a quick
> question.  Most of the other logo implementations talk about being able to
> set a bitmap for a turtle.  I realize MSWLogo can do this, but it seems to
> be limited only to getting the image from the clipboard.  Obviously, this
> is quite a drawback, so I'm guessing I'm missing something.  Unfortunately,
> the help for bitload is quite vague and it seems to immediately show the
> bitmap onscreen and NOT attach it to the turtle.  What I'm looking to do is
> load a bitmap from a file as the turtle bitmap for any turtle index.  Can
> this be done?  If so, how?
> 
> Many thanks,
> 
> -- Jim Burns
>      Technology Dynamics
>        Pearland, Texas
>          281.485.7186 / 281.485.0410
>            jimburns@technologydynamics.com
> 
> "There is always a trade-off to letting the machine do all the work.  It's
> not always a good one!"

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home