On Oct 4, 2019, at 2:00 PM, Pat Bensky wrote:
> So the first 2 times through, when $hbf="b" and
> ptra2tCellStylesBody->{$row}{$ElementOrder}#$t, it populates the cell:
> ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
>
> Subsequently, it just pops through the Case statement and doesn't populate
> the cell, even though those 2 test are both True.
>
> In all cases the two tests evaluate to True.
> What can't I see?
Maybe the 4D interpreter is getting confused with the rather complex 2D array
pointer thing "ptra2tCellStylesBody->{$row}{$ElementOrder}#$t” expression. You
might try setting a simple boolean variable before the case statement and see
if that makes it work.
$theThing_b:=(ptra2tCellStylesBody->{$row}{$ElementOrder}#$t)
Tim
*****************************************
Tim Nevels
Innovative Solutions
785-749-3444
[email protected]
*****************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************