Does this work for you... shedding the outer brackets ? if (gUSL <= pos_vrange) AND (gUSL >= neg_vrange) then
> What is the best way to do multiple logical comparisons and get them to work? > > For example > > if ((gUSL <= pos_vrange) AND (gUSL >= neg_vrange)) then > get TRUE > put it into tTester[x]["rng_check"] > else > get FALSE > put it into tTester[x]["rng_check"] > end if > > This does NOT work, while below does work. I need to get the top one to work > > if ((gUSL <= pos_vrange) ) then > get TRUE > put it into tTester[x]["rng_check"] > else > get FALSE > put it into tTester[x]["rng_check"] > end if > > Thanks in advance, > Van _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode