Page 1 of 1
Syntax Error on or before
Posted: Thu Mar 31, 2011 10:09 am
by viswaraju
Line 43: Syntax Error on or before;
!roles, !Budget version,
invalid string expression
Rule could not be attached to the cube ,but changes are saved.
This was the error i am getting.
Re: Syntax Error on or before
Posted: Thu Mar 31, 2011 11:25 am
by Michel Zijlema
viswaraju wrote:Line 43: Syntax Error on or before;
!roles, !Budget version,
invalid string expression
Rule could not be attached to the cube ,but changes are saved.
This was the error i am getting.
I assume you have a question on this. If so, perhaps it's a good idea to share some more information, f.i. the complete rule that the error applies to.
Michel
Re: Syntax Error on or before
Posted: Thu Mar 31, 2011 7:53 pm
by rkaif
viswaraju wrote:Line 43: Syntax Error on or before;
!roles, !Budget version,
invalid string expression
Rule could not be attached to the cube ,but changes are saved.
This was the error i am getting.
With the error messages generated by Rules Editor, I have noticed that most of the time Line # mentioned is not exactly correct (specially when your rule spans to multiple lines). Therefore we have to look at the complete Rules to debug the errors.
As stated by Michel, you will have to post the complete Rule.
Re: Syntax Error on or before
Posted: Fri Apr 01, 2011 7:52 am
by Wim Gielis
rkaif wrote:With the error messages generated by Rules Editor, I have noticed that most of the time Line # mentioned is not exactly correct (specially when your rule spans to multiple lines). Therefore we have to look at the complete Rules to debug the errors.
This is particularly true when you forget the semicolon at the end of a line: the line number stated will generally be the next line number after the offending line.
But the message box states that a semicolon is missing so that should be easy to verify.
Re: Syntax Error on or before
Posted: Fri Apr 01, 2011 9:36 am
by Alan Kirk
Wim Gielis wrote:rkaif wrote:With the error messages generated by Rules Editor, I have noticed that most of the time Line # mentioned is not exactly correct (specially when your rule spans to multiple lines). Therefore we have to look at the complete Rules to debug the errors.
This is particularly true when you forget the semicolon at the end of a line: the line number stated will generally be the next line number after the offending line.
But the message box states that a semicolon is missing so that should be easy to verify.
Not always; I got one just yesterday where I copied a block, just missing the semi-colon, and the error message that I got on compile was that an equals sign was missing. The level of trust that you can put in TI error messages may be higher than zero, but not by much.
Re: Syntax Error on or before
Posted: Sun Apr 03, 2011 6:14 am
by viswaraju
not like missing semi colon, here it was in feeding cube it has one more dimension than the rule written cube. I can not able to feed the extra dimension,please any suggestions for me.
Thanks and reagrds.
Re: Syntax Error on or before
Posted: Sun Apr 03, 2011 9:10 am
by Wim Gielis
viswaraju wrote:not like missing semi colon, here it was in feeding cube it has one more dimension than the rule written cube. I can not able to feed the extra dimension,please any suggestions for me.
Thanks and reagrds.
What element in that extra dimension contains the rules-calculated values? Feed to that particular element (when it comes to that dimension).