Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

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

Save array to file (fast)


'MyArray is a string array filled with text
'this code avoids having to cycle through the string array
Open "myfile.txt" For Output As #1
Print #1, Join(MyArray, vbcrlf)
Close #1