[Thread Prev] [Thread Next]
Hi Daniel!
Thanks for your answer, Its belongs to the second part of my question-
"other clever solutions", but the solution is conncected with recursion, and I
want more simple solution, Is there a way to do it like I wrote (with
variables) and not to click twice on the turtle, because my suggestion is
working, but you have to click twice on the turtle.
Thanks, Zehava
Daniel Ajoy <da.ajoy@xxxxxxxxx> wrote:
On 12 Nov 2006 at 22:30, zehava wizman wrote:
> I would like to know some other ways to do it, maybe with list?
I had to separate the launching of the music from the action of
the turtle because when the turtle was cancelling the music it
was also cancelling it's own actions (weird behaviour).
So here is a work-around:
to startup
make "songs [happy forest beach]
make "current "xxxxxxx
when [not :current = first :songs] [
cancel :current
make "current first :songs
launch :current
]
end
to change_songs_1
make "songs lput first :songs butfirst :songs
show :songs
end
Daniel
OpenWorld Learning
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
Previous by thread:
Re: changing music
Next by thread:
Re: changing music
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.
|