Subscribe Bookmark RSS Feed

JSL - Continuation Across Lines

bcurley

Community Trekker

Joined:

Oct 17, 2012

Hi,

Trying to figure out why something doesn't work.  Seems like it should be simple but I did a search and couldn't find anything.


This command works for me:

for each row(if(:TestVal==3,row state()=combine states(excluded state(0)),row state()=combine states(excluded state(1))));

But if I try to clean it up by breaking it across multiple rows like this:

for each row(

    if(:TestVal==3,

    row state()=combine states(excluded state(0)),

    row state()=combine states(excluded state(1))));

It gives me an Unexpected ")" error.  I've tried different variations but have not got it to work   Looking at the examples in the documentations this should work.  Any ideas.

Thanks,

Bob