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

#1 2012-10-21 09:40:04

Gaza101
Scratcher
Registered: 2012-06-23
Posts: 10

What does that red line around lists mean?

I read somewhere that it means there's an impossible calculation, but I checked my scripting all over and I cant't find any problems.

Image: http://i46.tinypic.com/2w4wf9g.gif

Anyways, heres my problem:

When I run any of the scripts that work with the list "Time" the list goes red, but not the scripts. These scripts are all working together to make a working clock, but I'm not getting anything because of this red list.

There is another script I haven't shown in the image:

when I receive [start v]
forever 
  set [timesecondsvar v] to (timeseconds)
end
Anyway, please help if you can.

Offline

 

#2 2012-10-21 09:54:31

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: What does that red line around lists mean?

The red line means you're trying to access or change an item that doesnt exist, like trying to set a variable to item 6 when there's only 5 items


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#3 2012-10-21 09:55:05

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: What does that red line around lists mean?

Gaza101 wrote:

I read somewhere that it means there's an impossible calculation, but I checked my scripting all over and I cant't find any problems.

http://i46.tinypic.com/2w4wf9g.gif

There is another script I haven't shown in the image:

when I receive [start v]
forever 
  set [timesecondsvar v] to (timeseconds)
Anyway, please help if you can.

Fixed.

Anyway, I'm curious, was there anything in the list to begin or have you forgotten a script in your image (other than the one you told us about)?


http://i46.tinypic.com/35ismmc.png

Offline

 

Board footer