Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Tue Nov 20, 2018 11:26 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Fish can swim
Chickens can talk
Dogs have 4 legs
Elephants can fly
   

Topic review - Can anyone show me a nested loop?
Author Message
  Post subject:  Re: Can anyone show me a nested loop?  Reply with quote
I don't think you need a nested loop for this, I assume you know the while keyword, what I personally would do is , have a variable(check the forums) which can have true or false as a value (or 1 / 0 ) , inside the While loop you check with an if whether the "criteria" was met or not, if it wasn't do 4 functions , if it was do function 4 , and set the variable back to it's original state :) . There are guides on the forum regarding variables , also some documentation on youtube
Post Posted: Wed Jul 11, 2018 6:33 pm
  Post subject:  Can anyone show me a nested loop?  Reply with quote
Hi guys!
I'm curious to learn how to make a nested loop work?
so basically this is what i would like
a simple loop firing off sequential functions and this loop will loop through the function.

ie: Outer Loop have function 1, function 2, function 3, inner loop, function 4 within the loop.

I would like the Inner loop to keep on looping until certain criteria are met and then exit that loop and continue on to function 4 and then outer loop starts again.

Would anyone give me some example code for me to look at for something like that?
I just don't know how to make it work. either i break out from the loop but it breaks completely out, or the inner loop is stuck and won't break out correctly.

Would anyone please show me an example doing what i'm asking? basically make a loop work and then have a nested loop also work inside the first loop. but the nested loop will stop upon certain criteria but don't stop the outer loop and continue on with next function.

could anyone show me an example code that i can look at?

Thank you!
Post Posted: Thu Jul 05, 2018 10:40 pm

All times are UTC


Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group