ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: declo on April 24, 2015, 08:31:21 PM

Title: Repeat until question
Post by: declo on April 24, 2015, 08:31:21 PM
Can you do a nested repeat loop within another repeat loop?

Title: Re: Repeat until question
Post by: TrailMyx on April 24, 2015, 10:53:47 PM
Can you do a nested repeat loop within another repeat loop?



Sure.  Shouldn't be a problem with that.
Title: Re: Repeat until question
Post by: Endless Night on April 27, 2015, 12:22:02 PM
You can do stuff like the pretend code below if you really wanted.

repeat
  repeat
    repeat
       repeat
          ; do something here
       until thedaychanges
    until themonthchanges
  until theyearchanges
until theworldends
Title: Re: Repeat until question
Post by: declo on April 29, 2015, 02:18:05 PM
Thank you!!