Alice Community  

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

Thread Tools Display Modes
Parameters in Alice
Posts: n/a
Default Parameters in Alice - 12-16-2010, 09:43 PM


I am trying to do a project and Alice and I am very limited in my understanding of this language. I understand what a parameter is in Java, Python, Perl, ect. The use of parameters confuse me however. Here is what I am trying to do. In the beginning of my program I want the user to enter a name for the main character. I want this variable to be passed to the second method for use in the next 'scene' I created. How would I go about doing this.

Reply With Quote
This could help
CodyAM1993's Avatar
Status: Offline
Posts: 22
Join Date: Sep 2010
Default This could help - 12-16-2010, 10:15 PM

I made a simple Alice scene depicting what I think your trying to accomplish. I put the "name variable" in World Properties. I hope this helps.
Attached Files
File Type: a2w Name Variable.a2w (592.4 KB, 5 views)
Reply With Quote

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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.