Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

flexibility with declaring an array

$
0
0
hello world!
 
i have a really large array i keep modifying .. wondering if there was a way to declare it in such a way that was easy to modify.. somtimes i need to delete records from the middle which throws the count off.. if something like this was possible it would make it much easier... then again - not sure what the first line Local $array[10] would look like since i wouldnt know the final count yet
 
thanks in advance!
 
#include <array.au3> Local $array[10] $x = 0 $array[$x += 1] = "bob" $array[$x += 1] = "larry" $array[$x += 1] = "mark" $array[$x += 1] = "will" $array[$x += 1] = "pete" $array[$x += 1] = "martha" $array[$x += 1] = "jane" $array[$x += 1] = "jill" $array[$x += 1] = "jack" $array[$x += 1] = "jim" _ArrayDisplay($array)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>