Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Reply
 
Thread Tools Display Modes
Yes/No instead of True/False boolean in alice 3.0?
Old
joethechicken
Junior Member
 
Status: Offline
Posts: 9
Join Date: Feb 2012
Location: in a pineapple under the sea
Default Yes/No instead of True/False boolean in alice 3.0? - 04-02-2012, 09:56 PM

Hi,

Whenever I use the GetBooleanFromUser function, the user must pick either true or false. However these are obviously not typical responses to questions such as: "Would you like to buy something?"

So, I was wondering if there is some way to change the True/False choices to Yes/No choices like in the older versions of Alice? (Besides converting everything into Java and then using Java to edit the code.)
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 04-08-2012, 07:01 AM

This may be incorrect but I believe you can change the defualt question correct? will if you can, just type the question then after it be T=yes and F=no


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote
Old
joethechicken
Junior Member
 
Status: Offline
Posts: 9
Join Date: Feb 2012
Location: in a pineapple under the sea
Default 04-08-2012, 03:47 PM

Thanks for the suggestion, however that is what I am already doing.
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.