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

LOGO-L> Re: Logo questions



Your misusing [ ], [ ]'s are for a literal list of items.
You want to build a list and put what you need into it.

Try this:

make "notetime 100
show [415 :notetime]
show (list 415 :notetime)

So this is your fix.

to Ab :notetime
sound (list 415 :notetime)
end

It's a common misunderstanding in Logo.

You might want to join the logo-l mailing list.
See bottom of MSWLogo web page to see how to join.

-----Original Message-----
From: RajanV@aol.com <RajanV@aol.com>
To: mills@softronix.com <mills@softronix.com>
Date: Sunday, June 28, 1998 5:37 PM
Subject: Logo questions


>Dear Dr. Mills
>
>I downloaded your MSW Logo to teach my son. I have found the program to be
>very useful. My son wanted to experiment with sounds and I have a hard time
>making things work. Here is what I tried to do:
>
>to Ab :notetime
>sound [415 :notetime]
>end
>
>to Bb :notetime
>sound [223 :notetime]
>end
>
>; like this several procedures for individual notes
>
>to jurassic
>eb 200
>d 200
>eb 400
>wait 100
>eb 200
>d 200
>eb 400
>end
>
>But I keep getting errors like (for example when I tried to execute "eb
400")
>eb 400
>sound doesn't like :notetime as input  in eb
>[sound [311 UNBOUND]]
>
>I couldn't find more documentation. I would appreciate any help. Thanks a
>million in advance.
>
>Rajan Varadarajan
>rajanv@aol.com
>

---------------------------------------------------------------
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