Page 1 of 1

RuleLoadFromFile weird behaviour

Posted: Mon Aug 05, 2013 6:29 am
by EvgenyT
Hi Guys,

I have encountered a strange issue/bug today with RuleLoadFromFile function. I have a cube that gets built and destroyed on the fly with RuleLoadFromFile function in Epilog to load rule file to perform certain calculations.

If I copy the rule syntax into the rule editor Manually TM1 doesn't complain at all, but when I load it via TI I get this error:

Error: Epilog procedure line (8): E13) Error loading rules for cube "Cube Name" Syntax error on or before:

semicolon expected
[/i]


Is it a known issue?

Thanking you in advance

Evgeny

Re: RuleLoadFromFile weird behaviour

Posted: Mon Aug 05, 2013 6:51 am
by EvgenyT
Copying bit and pieces to a new txt file fixed the problem, but I am still puzzled with this behaviour... I got a feeling it has something to do with blank lines...

If anyone has an answer, would be much appreciated.

Thanks

ET