Hello,
We need some time to investigate the issue.
Thank you.
Calculated column PHP
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Calculated column PHP
Hi, is there any news? Because in the meantime we bought the PHP license and now we need this bug to be fixed...
Re: Calculated column PHP
Hello Mario,
My team says this will not be possible. In JS it is very complicated task to implement. Since there is no compilation, this won't work.
Thank you for understanding.
My team says this will not be possible. In JS it is very complicated task to implement. Since there is no compilation, this won't work.
Thank you for understanding.
Re: Calculated column PHP
Hi Andrew,
thanks for the reply. If the PHP version is a "porting" of the .NET version, I can understand the problem in rewriting it. Given the answer, I tried to rewrite the in line if with assignment on the fly in all possible ways that came to mind and in the end I found one that is interpreted.
rendTempY == - 9999999999? rendTempY = 100: rendTempY = rendTempY * Exp (this.ptfRetY.PtfPerf)
can be written as...
rendTempY = (rendTempY == - 9999999999? 100: Exp (this.ptfRetY.PtfPerf) * rendTempY)
...and it works
There is a further strange thing that should be mentioned ... if I invert the multiplication factors in the second case, the validator gives an error.
Example:
Exp (this.ptfRetY.PtfPerf) * rendTempY) // OK
rendTempY * Exp (this.ptfRetY.PtfPerf) // KO
and validation seems to give error in all cases where there is any mathematical function as the second factor, not only Exp()...
However, I don't need this but I just wanted to let you know
thanks for the reply. If the PHP version is a "porting" of the .NET version, I can understand the problem in rewriting it. Given the answer, I tried to rewrite the in line if with assignment on the fly in all possible ways that came to mind and in the end I found one that is interpreted.
rendTempY == - 9999999999? rendTempY = 100: rendTempY = rendTempY * Exp (this.ptfRetY.PtfPerf)
can be written as...
rendTempY = (rendTempY == - 9999999999? 100: Exp (this.ptfRetY.PtfPerf) * rendTempY)
...and it works
There is a further strange thing that should be mentioned ... if I invert the multiplication factors in the second case, the validator gives an error.
Example:
Exp (this.ptfRetY.PtfPerf) * rendTempY) // OK
rendTempY * Exp (this.ptfRetY.PtfPerf) // KO
and validation seems to give error in all cases where there is any mathematical function as the second factor, not only Exp()...
However, I don't need this but I just wanted to let you know
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Calculated column PHP
Hello,
Thank you for the provided information.
Thank you.
Thank you for the provided information.
Thank you.