This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-04-11 11:12:01

warmeagle
New Scratcher
Registered: 2013-01-08
Posts: 1

display variable in order

Hi Guys,

I'm stuck in getting a variable to display each item in order.

for example:

when click start
set variable to: 1,2,3,4,5,6

I need the above to display each number in turn, so:

pop up warning 1; 2; 3; 4; etc

I did try with the []from[]to[] block in the string section but couldn't get it work...

Any ideas?

Offline

 

#2 2013-04-11 11:28:51

shadowmouse
New Scratcher
Registered: 2013-02-03
Posts: 100+

Re: display variable in order

I'm not entirely sure what you mean but if you want a variable to increment (continually change by 1) use the change [variable v] by () block. As for displaying, either use the show [variable v] or the say [] blocks.

Offline

 

Board footer