Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

write lines to a file

Posted on 2000-04-06
1
Medium Priority
?
142 Views
Last Modified: 2010-05-02
How do you write lines to a file and then move on to the next line?
i.e i want to write the following
put #num,,line1
and then move on to the next line.
many thanks
0
Comment
Question by:ghanlon
1 Comment
 
LVL 18

Accepted Solution

by:
deighton earned 200 total points
ID: 2689156
open "file" for append as #1
print #1,"line 1"
print #1,"line 2"
close #1
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question