Scratch's "<" and ">" blocks return the correct result when comparing two integer-valued variables in the local Squeak implementation, but not always in the Java applet. My guess is that the applet is incorrectly comparing the variable values as strings, even when they should be compared numerically. I have uploaded the following small project which seems to demonstrate that this is the case. It also demonstrates a workaround by padding variable values with zeros.
Bug Demo:
http://scratch.mit.edu/projects/langoshoish/425035
Offline
Thanks for tracking that down...I've entered it into the bug list for the application.
Offline