Cell( row == 1) || Cell( col == 2 )

|| inside an eval is very different to the above. Inside eval its just a standard java expression. Above is the 'or' Conditional Element it actually results in the creation of two rules, one for each possible outcome.

Mark
Steven Williams wrote:
I was wondering if there was a way to do ORs across columns without using
eval?

For instance, instead of doing:

Cell($r : row, $c : col)
eval($r == 1 || $c == 2)

do:

Cell(row == 1 || col == 2)

I tried the above syntax but it seems to ignore the part after the or
completely (ie. it matches on all cells in row 1 only).

thanks
Steve

--
Steven Williams

Supervising Consultant

Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
[EMAIL PROTECTED]
www.objectconsulting.com.au

consulting | development | training | support
our experience makes the difference


Reply via email to