Menu

Between statement???

Help
Henry
2010-10-21
2013-05-30
  • Henry

    Henry - 2010-10-21

    How would I make a between condition? For example, IF between var1 and var2 THEN.
    Thanks in advanced!

     
  • Grant

    Grant - 2010-10-21

    I'm happy to be corrected, but I believe you would use a third variable and 2 conditions on your IF statement.

    i.e.

    IF var3 > var1 AND var3 < var2 THEN

    END IF

    Cheers,

    Grant

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.