Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
How do I associate numbers with values?
Old
jenny1968
Guest
 
Status:
Posts: n/a
Default How do I associate numbers with values? - 11-15-2010, 05:33 PM

I need to set up a number system to associate with names for an object to say when the user gives a number.
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 11-15-2010, 05:44 PM

Make a list of strings, and then have each name be item x of the list, where x is the number. Note that numbering starts at 0. Then, make the program access the xth item from list.

Items are labelled, and you can just put an empty string in item 0.


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Old
jenny1968
Guest
 
Status:
Posts: n/a
Default 11-15-2010, 05:58 PM

Quote:
Originally Posted by zonedabone View Post
Make a list of strings, and then have each name be item x of the list, where x is the number. Note that numbering starts at 0. Then, make the program access the xth item from list.

Items are labelled, and you can just put an empty string in item 0.
How do I make a list of strings?
   
Reply With Quote
Old
jenny1968
Guest
 
Status:
Posts: n/a
Default 11-15-2010, 06:02 PM

How do I set up the string function? I tried to enter it and I can't
   
Reply With Quote
I associate numbers with values
Old
davidabraham
Guest
 
Status:
Posts: n/a
Default I associate numbers with values - 12-07-2010, 08:32 AM

Ventrilo is supported on different platforms as well. When downloading either the client or server it is important that you download the appropriate platform version. For example, Microsoft Windows is the currently supported platform for the client programs. However, in the future the client program might be available for the Apple Macintosh or Linux Operating Systems. Downloading the appropriate platform program also applies to the server component which is currently supported on platforms other then Microsoft Windows.
   
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.