home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 February / PCWorld_2006-02_cd.bin / software / vyzkuste / triky / triky.exe / autoit-v3-setup.exe / Examples / _ArrayAdd.au3 next >
Text File  |  2004-12-19  |  388b  |  16 lines

  1. #include <Array.au3>
  2. Dim $avArray[10]
  3. $avArray[0] = "JPM"
  4. $avArray[1] = "Holger"
  5. $avArray[2] = "Jon"
  6. $avArray[3] = "Larry"
  7. $avArray[4] = "Jeremy"
  8. $avArray[5] = "Valik"
  9. $avArray[6] = "Cyberslug"
  10. $avArray[7] = "Nutster"
  11. $avArray[8] = "JdeB"
  12. $avArray[9] = "Tylo"
  13. _ArrayDisplay( $avArray, "Whole array" )
  14. _ArrayAdd( $avArray,"Brian")
  15. _ArrayDisplay( $avArray, "Updated Array" )
  16.