Logical Expressions

Van Brollini analog_test at runbox.com
Mon Jun 6 01:35:12 CDT 2011


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
         



More information about the use-livecode mailing list