Diff. btw Open [path] For OUTPUT vs. For INPUT

X

XLDweeb

Hi,

Was wondering if anyone could explain difference between:

Open [pathname] For Output As #filenumber
and
Open [pathname] For Input As #filenumber

Equivalently, what is the difference between opening a file in
"Sequential input" mode and "Sequential output" mode? These terms are
used in the VB Help but not defined further.

At first I thought Open [path] For Output means you can only output the
file, not write into it. But then I saw there is another optional
component to the syntax of Open statement which allows definition of
access as Read, Write etc. so I don't see what Output and Input are
defining.

Hope you can shed some light on this.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top