Alice Community  

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

Reply
 
Thread Tools Display Modes
use ask user for string functions
Old
Kim's 3rd hour
Guest
 
Status:
Posts: n/a
Talking use ask user for string functions - 05-07-2010, 12:34 PM

We are trying to do a video game of paper,rock,scissors and we are at the point were we ask the user for a string and its not letting us drop it in the if /else statement.
How do we ask a user for a string? Do we have to use it in a method or a function? Are there any parameters involved?
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 05-07-2010, 05:04 PM

There should be a function that automatically does this in world.functions.
   
Reply With Quote
kim's 3rd hour
Old
Kim's 3rd hour
Guest
 
Status:
Posts: n/a
Default kim's 3rd hour - 05-10-2010, 11:54 AM

we already tried adding the function into if/else statement and it didn't allow us to drop it.
   
Reply With Quote
Reply

Tags
ask user for a string.

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.