TypeError: Cannot find function 1.0.
- by Newtopian
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 = 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.