SpencerL Posted July 16, 2008 Share Posted July 16, 2008 Hi, I have an SOP OTL which has a popnet inside. The popnet has a group POP and I am trying to promote the "rule" parameter to the UI in SOPs. When I do this, it complains of a syntax error. This is the channel reference it creates in the "rule" parameter when I promote it to the OTL UI. `chs("../../rule")` When I put anything in the newly created OTL parameter it complains with an error, Syntax Error. I have tried these different entries $AGE > 1 `$AGE > 1` `point("../myOtl", $ID, "life", 0) > 1` and a few others. Not sure how I can get around this issue. Any suggestions would be great! Thanks! Quote Link to comment Share on other sites More sharing options...
rdg Posted July 16, 2008 Share Posted July 16, 2008 I guess you need: string chsraw (string channel) Returns the raw expression value of a parameter as a string Quote Link to comment Share on other sites More sharing options...
SpencerL Posted July 16, 2008 Author Share Posted July 16, 2008 hmmm, I would have thought that too but still no good. I just tried created a spare string parameter on the Group POP and referenced it in the "rule" parameter and it didnt like it either, so it doesnt seem to be a POP<>SOP issue. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted July 16, 2008 Author Share Posted July 16, 2008 hmmm, I would have thought that too but still no good.I just tried created a spare string parameter on the Group POP and referenced it in the "rule" parameter and it didnt like it either, so it doesnt seem to be a POP<>SOP issue. Actually, I am wrong on that. It works fine if I do it within POPs. It just doesnt like it if I try to promote it to the SOP level. It gives me this error Channel Evaluation Error Bad data type for function or operation So im still stuck with my original problem. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted July 18, 2008 Author Share Posted July 18, 2008 Actually, I am wrong on that. It works fine if I do it within POPs. It just doesnt like it if I try to promote it to the SOP level. It gives me this error Channel Evaluation Error Bad data type for function or operation So im still stuck with my original problem. FYI, I manged to sort out the issue. the eval() expression without backticks did the trick. eval(chsraw("../../rule")) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.