Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   use ask user for string functions (http://www.alice.org/community/showthread.php?t=4367)

Kim's 3rd hour 05-07-2010 12:34 PM

use ask user for string functions
 
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?

Niteshifter 05-07-2010 05:04 PM

There should be a function that automatically does this in world.functions.

Kim's 3rd hour 05-10-2010 11:54 AM

kim's 3rd hour
 
we already tried adding the function into if/else statement and it didn't allow us to drop it.


All times are GMT -5. The time now is 06:19 PM.

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