Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Remove a parameter from method call
Old
mlandis
Guest
 
Status:
Posts: n/a
Default Remove a parameter from method call - 08-03-2009, 09:47 AM

I am not sure that these are even called parameters, but if I have a statement like this:

[ fred ] move [ up ] [ 1 meter ] [ asSeenBy=martha ] [more....]

How do I remove the "asSeenBy" item from the statement using the interface? Right clicking and choosing "delete" seems like an obvious choice but that isn't there.

And... what are these things called exactly in Alice? Are they called 'parameters'? It seems to me that they are, in an intuitive sense, named options in a message, implying message-passing based language design.

An Alice manual would be rather helpful... Or a wiki that works like a manual would be cool too.
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 08-03-2009, 10:48 AM

I think if that is the only time then just bring in a new command and erase the old one. I don't know what they are called They are probably parameters. Dick Baldwin has some good tutorials.
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 08-03-2009, 08:57 PM

Yes, they are called parameters. They can also be called arguments as well.

The only way I could think of to remove that is to remove the entire method and put it in again without the parameter/argument that you want removed.
   
Reply With Quote
Old
hhamilton
Guest
 
Status:
Posts: n/a
Default 08-04-2009, 06:08 PM

Can these parameters be removed from the source code so they don't appear at all? If so where is that source code hiding. I've looked for it, specifically in Storytelling Alice.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.