Scratch Forums

You are not logged in.

#1 2009-11-05 20:09:56

FantasyTales
Member
Registered: 2008-06-02
Posts: 1673

number in list

im trying to get a list to recognize which number it is on based on what is typed in.  for example say the first thing in the list is hello and i type in hello.  i would like to find out a way to make it know that i typed in the first word in the list and the same with every other number.  i want to do this without using multiple if blocks (an if block for every number)


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#2 2009-11-05 20:26:04

FantasyTales
Member
Registered: 2008-06-02
Posts: 1673

Re: number in list

lol no problem i've figured it out after a good hour or so of thinking about it


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#3 2009-11-05 20:28:25

fg123
Member
Registered: 2008-11-13
Posts: 1312

Re: number in list

I'll make a project for it...

Online

 

#4 2009-11-05 20:43:00

FantasyTales
Member
Registered: 2008-06-02
Posts: 1673

Re: number in list

lol i figured it ou but it would be good to see another way of doing it.


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#5 2009-11-05 20:57:21

fg123
Member
Registered: 2008-11-13
Posts: 1312

Re: number in list

Darn! You replied before me! Anyways, I have done it:
http://scratch.mit.edu/projects/fg123/747362

Online

 

Board footer