Jump to content

Multiple array nested loop.


omicron
 Share

Recommended Posts

How do you perform a nested loop function with a multidimensional array from 2 lists.

for i in list1

(open file) extract variable

    while open for i in list 2

    (open file2) extract variable

 

var1 + var2 = (search term)

The list sizes will more than likely consist of different lengths.

 

What is the best approach to accomplishing this method?

       

Link to comment
Share on other sites

  • Moderators

@omicron how is this any different than your previous post that was locked?

 

================In case you missed it, this is a Moderator stepping into a post================

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Do you suggest that no one would want to know how this function would work for their own application?

I explained this to JOS is a PM, Ill explain to the goup:

Certainly i will delete the original post; considering the content and forum rules. Hence the restatement, which we agree adheres to guideline. Simply stated, looking for a solution to an issue. 

1. The efforts are not nefarious as I own the content I am working with.

2. This is in an additional effort to combat certain methods of screen scraping, and artificial interaction with our systems as it messes up the metrics, and overall continuity with the game. I am a security developer

@Jos

Quote

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

 

More specifically.

Quote

See you soon with a legitimate question I hope.

 

The advice was dully noted and applied.

 

lastly, I have a need for this particular function in a few programs saving lots of time and adding extreme value to sorting a few lists.

======== Glad to see moderators are diligently assessing posts instead of immediately locking them========

 

Are you willing to help answer this question?

 

Thank you for your time.

 

Link to comment
Share on other sites

  • Developers

@omicron,

I hadn't read the PM yet, but have now so will answer here:

  • We do not care whether you own the game or not, game automation is simply a forbidden topic in these forums....full stop!
  • So all other arguments in PM and post are null and void as statement 1 applies. 
  • ... and as a side remark: making these subtle remarks do not really help your case so just stop doing that as it just makes you look silly.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...