variable subtraction

jackslade

27-07-2007 06:30:21

It doesn't appear variable subtraction is working.

I can use --, but when i attempt to subtract two variables it doesn't give me the correct answer.

e.g.
var num1 = 10;
var num2 = 5;

var max = num1 - num2;

max will not equal 5.

in fact var testmax = 10 - 5; will give me 2 instead of 5 as well.

very odd.

siit

29-07-2007 13:28:34

Very odd but probably possible..

The current version of the script engine is about to be outdated with the next version of vibe streamer and will be replaced by a much more potent script engine. So there won't be any bugfixs to the current script engine before that. Best is to find a way to work around any problems found with the script language.