Hi,
I have a script and I'm almost done but I get this error and frankly I have no idea what is wrong here. I'm rather new to Javascript so I suspect I did something wrong in the syntax somewhere. Here is an extract from the script containing the offending line :
var gc = 0;
var seg;
var segCount = 0;
var groupCount = 0;
var groupLevel = 0;
var segments = new Array();
var sk = "";
for(gc = 0; gc <= groupLevel; gc++)
{
if(gc >= groupDelimiters.length) break;
if(seg.name() == groupDelimiters[gc])
{
//ok we start another group
grKeys.startNewGroup(groupLevel, groupCriterionExtractors[groupLevel](segCount), groupCount);
groupLevel = gc + 1; //This line is flagged with the error in the title
groupCount++;
}
}
ideas, pointers, any help would be appreciated.
edit - I got screwed by the $%*& markup syntax from outer space. Here is the code as it should have appeared.