Results 1 to 2 of 2

Thread: Multiple conditions to end a repeat statement

  1. #1
    Join Date
    Jan 2013
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Multiple conditions to end a repeat statement

    I want a procedure to repeat until either the inventory is full or until isuptext returns a specific value.

    Basically:


    Simba Code:
    Repeat
     ...
    Until(P07_invfull) OR Until(P07_isuptextmulticustom(['whatever']);


    The last line of the code is what I'm trying to get to work. I've tried a few different variants, but none seem to work.
    Is this possible and if so, how can I code it correctly?

  2. #2
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Simba Code:
    repeat
    ...
    until((P07_invfull) OR (P07_isuptextmulticustom(['whatever'])));

    That should work.

    Forum account issues? Please send me a PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •