CoN73mP7 wrote:Hi,
I've got an error and I don't know why:
Code: Select all
DIMENSIONELEMENTCOMPONENTADD('DBGL_TIME',vMin,vSec,1.000000);
The problem is, that this is generated code of the TI-Process. I haven't changed a thing there. The error says "invalid number in or before Line XYZ.
I suppose, its the weight of the component which causes the error, but I haven't changed anything there.
Some backgroundinfos: I use an English version of TM1 but my computer is german and the use of point and comma is inverted in germany. I've tried to alter the config file and used a comma instead of a point but it hasn't worked either way.
Anyone had that kind of error before or knows what to do to get rid of it?
Sometimes TI errors don't genuinely reflect the underlying problem. However on the off chance that this IS a problem with the formatting (you may want to do this on a copy of the process):
(a) Copy all of the generated code to the area below the End: Generated Statements line. This will give you a starting point;
(b) Change all of your variable Contents to "Other" to get rid of the accursed generated code;
(c) Change the weighting to just 1, with no decimal.
In doing so you've also taken your first steps in breaking away from the appalling auto-generated code, and into writing your own unshackled by what is, IMHO, an inflexible, unintuitive interface.