Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Write an entire array into a file #2


'assumes MyArray exists
Open "myfile.txt" For Output As #1
For i = 0 To Ubound (MyArray)
    Print #1, MyArray(i)
Next i
Close #1