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 / _ArrayPop.au3 < prev    next >
Text File  |  2004-12-19  |  414b  |  21 lines

  1. #include <Array.au3>
  2.  
  3. Dim $avArray[10]
  4. $avArray[0] = "JPM"
  5. $avArray[1] = "Holger"
  6. $avArray[2] = "Jon"
  7. $avArray[3] = "Larry"
  8. $avArray[4] = "Jeremy"
  9. $avArray[5] = "Valik"
  10. $avArray[6] = "Cyberslug"
  11. $avArray[7] = "Nutster"
  12. $avArray[8] = "JdeB"
  13. $avArray[9] = "Tylo"
  14.  
  15. While UBound($avArray) > 0
  16.    MsgBox(0,'',_ArrayPop($avArray))
  17.    _ArrayDisplay( $avArray, "Entries left in the array" )
  18. WEnd
  19.  
  20. Exit
  21.