spoco2
07-16-2008, 11:01 PM
Hi all,
During a bit of free time I've tried to move our app in a test environment over to 4.1.1... but am having issues.
My current one is with this method:
<method name="getCostsForDate" args="dateval" >
for(rdtm in this.refdatalist){
if(this.refdatalist[rdtm].getCostsForDate(dateval)){
//Debugger.write(3,'Done '+rdtm);
}
}
</method>
Where this.refdatalist is hash of pointers to class instances, all of which have the method getCostsforDate(). This method works fine in 3.4.x, but I'm getting the following issue when trying to run it in 4.1.1:
Syntax error: the token "function getCostsForDate ( dateval ) { #beginContent #pragma 'methodName=getCostsForDate' #pragma 'withThis' for ( rdtm in this . refdatalist )" was not expected at this position.
Which baffles me... anyone know what's the issue here?
During a bit of free time I've tried to move our app in a test environment over to 4.1.1... but am having issues.
My current one is with this method:
<method name="getCostsForDate" args="dateval" >
for(rdtm in this.refdatalist){
if(this.refdatalist[rdtm].getCostsForDate(dateval)){
//Debugger.write(3,'Done '+rdtm);
}
}
</method>
Where this.refdatalist is hash of pointers to class instances, all of which have the method getCostsforDate(). This method works fine in 3.4.x, but I'm getting the following issue when trying to run it in 4.1.1:
Syntax error: the token "function getCostsForDate ( dateval ) { #beginContent #pragma 'methodName=getCostsForDate' #pragma 'withThis' for ( rdtm in this . refdatalist )" was not expected at this position.
Which baffles me... anyone know what's the issue here?