ifexpression syntax
What is the correct syntax when passing values on a zen method after ifexpression?
.....
{
if Table="" quit 0
if p {set x=+$g(^||Page("PageFlag","Table",p))}
else {set x=+$g(^||Page("PageFlag","Table"))}
if (x=1)||(x=3) quit 1
quit 0
}
This gives me an error "<SYNTAX>zIfCommon+2^%ZEN.Report.Display.controller.1"
I have swapped the double quotes to single but it still errors
Product version: Caché 2018.1
It's not intuitive, but it works.