write and print methods

fragnus
06-08-2003, 05:16 PM
Can someone tell me the difference between using the print or write methods of writing to a text file?

What are the Pros and Cons of each?

Print #filenum....

or

Write #filenum,...


thnx in advance

Gizm
06-08-2003, 07:09 PM
Search the web though!! :cool:

"Unlike the Print function, the Write function inserts commas between items and quotation marks around strings as they are written to the file."

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vastmWrite.asp

G I Z M

vbfan
06-09-2003, 12:31 AM
When you use Print to write to a file you have to read it with: Line Input
And when you use Write you have to read it with Input.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum