cunger28 Posted November 16, 2009 Report Share Posted November 16, 2009 I see the option to utilize the "repeat until variable contains", but it appears that it can only be one value. I need the repeat to occur if my variable has more than one allowable value. Example: The dog goes ruff The cat goes meow The cow goes moo Any of those statements can be assinged to variable T1 I want something to operate like this: Repeat Until T1 contains dog, cat, cow Text box display %T1% for (qc purposes) End Repeat Any help or guidance would be much appreciated! Thanks, -Chris Quote Link to comment Share on other sites More sharing options...
paul Posted November 16, 2009 Report Share Posted November 16, 2009 While you cannot directly do what you want, there's an easy workaround: Repeat Until %n1% Does not Equal %n1% -- in other words, for ever If %t1% Contains dog Or If %t1% Contains cat Or If %t1% Contains cow Repeat Exit Else ... End If End Repeat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.