[MWForum]Syntax not working
Susan van Gelder
mwforum@lists.mathcats.com
Sun, 22 Feb 2004 11:31:57 -0500
You cannot name a procedure shape because that is a reserved name - a
reporter that tells you the name of the shape the turtle is.
You need to name your procedure something else, like shapes
Susan
On Feb 22, 2004, at 11:25 AM, Lauren Pacini wrote:
> Thanks for pointing out the typo -- haste makes waste!
> As for the "SHAPE 6" command, that seems to return the
> message "I don't know what to do with turtle" so once
> again I missed something along the line. I typed the
> "To" becasue that was the syntax I used with MSW LOGO
> and the syntax used in the Microworlds help file!
>
> Lauren
>
>
> --- Wendy Petti <wpetti@mathcats.com> wrote:
>> When you use the procedure (in the command center or
>> on a button), type
>> this:
>>
>> SHAPE 6
>>
>> Don't type:
>>
>> TO SHAPE 6
>>
>> I'm guessing that is why you are getting the error
>> message, because you are
>> including TO in your command.
>>
>> You have a typo in your procedure too; it should be
>> RT instead of RE.
>>
>> Wendy Petti
>> MicroWorlds in Action
>> http://mia.openworldlearning.org
>> Math Cats
>> http://www.mathcats.com
>>
>>
>>> -----Original Message-----
>>> From: mwforum-admin@lists.mathcats.com
>>> [mailto:mwforum-admin@lists.mathcats.com]On Behalf
>> Of Lauren Pacini
>>> Sent: Sunday, February 22, 2004 9:29 AM
>>> To: mwforum@lists.mathcats.com
>>> Subject: [MWForum]Syntax not working
>>>
>>>
>>> I am trying to create a simple macro substitution
>> but
>>> the local variable syntax is not working, so I am
>>> clearly missing a step!
>>>
>>> The help file shows the follow, but tells me "I
>> don't
>>> know how to to"
>>>
>>> to square :size
>>> repeat 4 [fd :size rt 90]
>>> end
>>>
>>> My desired result is:
>>>
>>> to shape :value
>>> repeat :value [fd 100 re 360 / :value]
>>> end
>>>
>>> Thanks!!!
>>>
>>> Lauren
>>>
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Yahoo! Mail SpamGuard - Read only the mail you
>> want.
>>> http://antispam.yahoo.com/tools
>>> _______________________________________________
>>> MWForum mailing list
>>> MWForum@lists.mathcats.com
>>> http://lists.mathcats.com/mailman/listinfo/mwforum
>>> Attachments archived at:
>>> http://www.mathcats.com/mwforum/attachments.html
>>> To unsubscribe or for administrative questions
>> contact
>>> mailto:mwforum-admin@lists.mathcats.com
>>>
>>
>>
>> _______________________________________________
>> MWForum mailing list
>> MWForum@lists.mathcats.com
>> http://lists.mathcats.com/mailman/listinfo/mwforum
>> Attachments archived at:
>> http://www.mathcats.com/mwforum/attachments.html
>> To unsubscribe or for administrative questions
>> contact
>> mailto:mwforum-admin@lists.mathcats.com
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> Attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
> To unsubscribe or for administrative questions contact
> mailto:mwforum-admin@lists.mathcats.com
>
>
***************************************************************
Susan van Gelder
susanvg@videotron.ca