How do I remove the error for RHS Constant?
I keep getting this error message when I save the script:
Error in statement at line number 1
RHS can't be a constant
I assume it has something to do with overloading the operator, but I can't figure out how to get around it. Below is part of the code causing the error.
if (input.funded == "Adams, John")
{
Friday_Lodging.deselectall();
Friday_Lodging.select("Yes");
Saturday_Lodging.deselectall();
Saturday_Lodging.select("Yes");
}
else if ((input.funded == "Smith, Gary" || "Ring, Garnet"))
{
Friday_Lodging.deselectall();
Friday_Lodging.select("Yes");
Saturday_Lodging.deselectall();
Saturday_Lodging.select("no");
}