I get an error on this simple script (im trying to learn Js)
function Multi(number1 : int, number2 : int): int
{
return number1 * number2;
}
function Start() {
var answer = Multi(5,5);
}
the variable answer should be assigned to 25, but i get a little blue info bubble telling me it is unused
Error msg:
WARNING: Unused local variable answer
Any explanation would be appreciated
thanks in advance!
:roll: