VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In

by VisualScope (20 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 6th March 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In A Single Text File!!!

Rate Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In




Open "YourDirectory" for output as #1
print #1, "your first line"
print #1, "your second line"
print #1, "ect.ect.ect."
close #1

'use this to laod data from a text file
'on this you can assign varibles that will take the values of "your first line" and "your second line" and so...

open "YourDirectory" for input as #1
input #1, "your first line"
input #1, "your second line"
input #1, "ect.ect.ect"
close #1

Download this snippet    Add to My Saved Code

Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In Comments

No comments have been posted about Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In . Why not be the first to post a comment about Stores and Loads Multiple Lines In A Text File So You Can Put All Of Your Data For Your Program In .

Post your comment

Subject:
Message:
0/1000 characters