Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LOGO-L> which color ?

0 views
Skip to first unread message

Franz Josef Wallner

unread,
Apr 11, 1999, 3:00:00 AM4/11/99
to log...@gsn.org
How can I get the colors of the background while moving the turtle forward?
The screen is white und the square is filled black.
When the turtle crosses the square I want to print the
color of the background ([000 000 000] and [255 255 255])?

---------------------------------------------------
to Q1
cs pu setpos [-50 50] pd
repeat 4 [fd 100 rt 90]
rt 45 fd 5 fill
pu home pd
end

to Q2
q1
repeat 7[fd 15 pr floodcolor]
;floodcolor may not be the right primitive
;how must I ask to get the color of a filled square
end
----------------------------------------------------

Thanks Franz
Franz J. Wallner-Hutmacher
Fr...@wallner.co.at

??? Have you ever heard about ???
"EASY and QUICK TO INSTALL!"
---------------------------------------------------------------
Please post messages to the Logo forum to log...@gsn.org. Mail
questions about the list administration to log...@gsn.org. To
unsubscribe send unsubscribe logo-l to majo...@gsn.org.

George Mills

unread,
Apr 11, 1999, 3:00:00 AM4/11/99
to Franz Josef Wallner
pr pixel

--
===============================================================
George Mills (mi...@softronix.com)
http://www.softronix.com/
The www page contains some very powerful educational software.
Our single most important investment is our kids.

0 new messages