I have a problem with the MATH function on 5.7 and it doesn’t seem to be a problem in 5.4.1. I have tried it on 5.7 and 5.7 Rev2 and the OS is Windows2003.
To remove any unnecessary code I made a frl with 3 field (A,B,C) each on 6 bytes. I made a Xlate wich have this frl both as inbound and outbound. I copy the value in A –> A, B –> B, MATH ADD A B –> C
The Xlate looks like this
{ { OP COPY }
{ ERR 0 }
{ IN {{AField.[0]}} }
{ OUT {{AField.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {{BField.[0]}} }
{ OUT {{BField.[0]}} }
}
{ { OP ADD }
{ ERR 0 }
{ IN {{AField.[0]} {BField.[0]}} }
{ OUT {{CField.[0]}} }
{ FUNCTION ADD }
}
I have a test input file like this:
3.3 6.6
When I run this Xlate in the Testing Tool it works fine, except from the trailing zeros, but that a minor problem.
MESSAGE 1
AField: > 3.3<
BField: > 6.6<
CField: >9.9000<
When I run it through the engine, just one IB thread, one OB thread, no Tcl code just the Xlate. It won’t copy anything to the CField.
When I do the same thing in 5.4.1 it works fine
Does anyone have any idea.
I have attached the .frl, .xlt and input data so if someone would test this I would appreciate it
/Torfinn