jamief
03-17-2005, 07:20 PM
But I'm going mad here...
All i want to do is create a new variable called 'pics_max' that is one greater than the variable 'totalpics'. (total pics is currently set to 4)
// I've tried:
pics_max = totalpics + 1;
trace (pics_max);
// and:
pics_max = Number (totalpics + 1);
trace (pics_max);
... but each time i get '41' instead of '5'. Both variables have been data typed 'Number'. Someone please put me out of my misery....
Jamie
All i want to do is create a new variable called 'pics_max' that is one greater than the variable 'totalpics'. (total pics is currently set to 4)
// I've tried:
pics_max = totalpics + 1;
trace (pics_max);
// and:
pics_max = Number (totalpics + 1);
trace (pics_max);
... but each time i get '41' instead of '5'. Both variables have been data typed 'Number'. Someone please put me out of my misery....
Jamie