
03-11-2012, 03:59 PM
Perhaps you don't quite understand functions and methods?
Functions already return a value. When you use them it gets certain pre-determined values (parameters), does certain calculations defined by the creator and returns the value. Sometimes a function isn't intended to actually return anything and simply does things with the input values.
I believe the problem you're having is related to the concept of using the returned value.
You're supposed to set a variable to the returned value. In a Java class you might simply print the function to the console and the console would show the variable. You can do this in Alice too.
In the event that this is not the case, it would be because the arm's changed orientation does not affect the overall height of the character. You may want to detect width for more obvious change.
|