Interval type should be word. Assure you have already the result into ADRES before performing the comparison.
On Fri, Jun 21, 2013 at 10:08 PM, speedy23 <[email protected]> wrote: > Hi, > I have been scratching my head to work out a routine that would return > true if the result from an AD conversion is within a certain range. > > For example > > if ADRES >= 40 and ADRES <=60 then Interval = 5000 > else Interval = 1200 > > Most things that seem logical fail. > > Any help/suggestions would greatly appreciated. > > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/jallib. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/jallib. For more options, visit https://groups.google.com/groups/opt_out.
