Alice Community  

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

Reply
 
Thread Tools Display Modes
If elses for selecting a day of the week
Old
ssuttles
Guest
 
Status:
Posts: n/a
Default If elses for selecting a day of the week - 10-02-2010, 02:13 PM

I'm trying to have an object ask the day of the week.
Then I'm to enter a number that correlates to a day of the week.
1 for Monday works, but 2 for Tuesday or any of the others do not.

How can this work?
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow 10-02-2010, 02:59 PM

Post what you have so far, and if you have more specific directions, let me know and I'll see what I can do.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
ssuttles
Guest
 
Status:
Posts: n/a
Default 10-02-2010, 03:03 PM

I'm new to this forum ... is there a way to attach docs?

I ask because I'm not sure how to post what I have so far without it being in a doc
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow 10-02-2010, 03:09 PM

Yeah. Since this is the Alice Community forums, you can also post .a2w files directly (.a2w is the format Alice saves your worlds in).

Whenever you post, you have the option of adding an attachment.
Just scroll down to "Additional Options," and there should be an "Attach Files" section, in which there is a "Manage Attachments" button. Click on it, choose the file, and click "Upload." It may take some time to attach it, depending on how large the file is.

(Note: I'm using Windows 7 and Google Chrome, so it may look a little different, but the procedure is the same.)
Attached Images
File Type: jpg managingattachments01.JPG (61.5 KB, 11 views)
File Type: jpg managingattachments02.JPG (39.1 KB, 11 views)


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
ssuttles
Guest
 
Status:
Posts: n/a
Default 10-02-2010, 03:52 PM

ok ... I added two attachments.
Let me know that you received those
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Exclamation 10-02-2010, 03:55 PM

Nope. Don't see them.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
ssuttles
Guest
 
Status:
Posts: n/a
Default 10-02-2010, 04:06 PM

I had to zip up ... try now
Attached Files
File Type: zip unit4_assign14_alice8.zip (4.97 MB, 1 views)
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Arrow 10-02-2010, 06:05 PM

There are comments in the code.
Attached Files
File Type: a2w Alice8.a2w (1.95 MB, 6 views)


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
ssuttles
Guest
 
Status:
Posts: n/a
Default 10-02-2010, 07:00 PM

thank you
I would have never gotten the while statement.

do you know c++ too? .... had would it equate?
   
Reply With Quote
Maybe next semester...
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Unhappy Maybe next semester... - 10-02-2010, 07:03 PM

Unfortunately, I don't know C++.

I am taking a Computer Math A course later, so you could wait a semester and I might be able to tell you.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.