I have tried to submit the package but get the error that "Eval is deprecated". Below are 2 methods that uses eval. Do you know how to fix it? I am new to Roku app development. As per my reading, Roku suggested to use roXMLElement.parse() or parseJSON() instead of Eval(). But I am confused.
max = invalid
result = eval("if a >= b then: max = a: else: max = b: end if")
min = invalid
result = eval("if a <= b then: min = a: else: min = b: end if")