The Daily Click ::. Forums ::. Klik Coding Help ::. Numerical value of a single character?
 

Post Reply  Post Oekaki 
 

Posted By Message

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
16th January, 2009 at 13:53:32 -

How would you do this in MMF2, so a=1, b=2 etc?

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
16th January, 2009 at 14:04:54 -

I made this example after reading your post:
http://www.mediafire.com/?lg2nnmzmbmd

Type a letter in the box and the corresponding number will be displayed in the counter. If you type more than a letter it will come up with "-1".

I just made a list by typing each letter on a different line of the list object. Then I set the counter to get the correspondong line number of the edit box string. Note that the list object is 1-based.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
16th January, 2009 at 14:15:12 -

That's perfect! Cheers

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com
   

Post Reply



 



Advertisement

Worth A Click