I am attempting to use a while controller with the following condition:

 

${__javaScript("${x${numX}}"!="-1",dummy)}

 

The condition includes a reference to the variable numX, which is a
positive integer (e.g. 1,2,3,etc.), as well as the variable x${numX}
that is also a positive integer (e.g. x1,x2,x3,etc.). These variables do
in fact exist and are defined well.

 

The issue is that the loop is never-ending and never evaluates to false
(dummy = true). I expect the error is involving a variable referenced
within a variable, but I am not sure what is the proper syntax to do so.
I also checked related questions and I do not have any trailing spaces
at the end of the condition or any variable.

 

Ryan

 

Reply via email to