Search the Community
Showing results for tags 'nested loop'.
-
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?
- 3 replies
-
- array
- multidimensional
-
(and 1 more)
Tagged with:
-
Hello! I am working on a function that I am just getting lost on. The goal is a multiple nested loop. Here are the steps: Contents of file1.txt:: [topic] var1=Name var2=OtherName var3=SomeotheName Contents of file2.txt:: [subTopic] top=sub1 top2=sub2 top3=sub3 The Shell I am working from:: #include <file.au3> $file = "c:\yourfile.txt" FileOpen($file, 0) For $i = 1 to _FileCountLines($file) $line = FileReadLine($file, $i) msgbox(0,'','the line ' & $i & ' is ' & $line) Next FileClose($file)
- 2 replies
-
- nested loop
- loop
-
(and 3 more)
Tagged with: