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

#1 2008-10-05 22:40:22

pokemon_diamond
Scratcher
Registered: 2007-09-22
Posts: 10

Script highlighted red

you know how your script highlights white when it's being used? Mine highlighted red and everything in my project sort of froze. Does that mean there was an error or something?

Offline

 

#2 2008-10-05 22:54:55

skryed
Scratcher
Registered: 2008-04-26
Posts: 57

Re: Script highlighted red

it means the script isn't valid. by chance are you using gadgetmans old blocks?


http://i10.photobucket.com/albums/a124/boysofsheahem/alphabet/I-1.pnghttp://i10.photobucket.com/albums/a124/boysofsheahem/alphabet/L-1.pnghttp://i10.photobucket.com/albums/a124/boysofsheahem/alphabet/Q-1.png

Offline

 

#3 2008-10-06 04:45:43

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Script highlighted red

Yes, when Scratch hits an error in a script, it turns red.  The most common error that causes this condition is division by zero.  If you have division going on in your script, look at the denominator (right side of the division operator) and see if it becomes zero at any time during the running.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer