|
-
May 15th, 2002, 01:21 PM
#1
Thread Starter
New Member
Creating an array from a Text File.
I am opening the text file as binary, and then using the Get #1, , Array_Name() to populte the array.
Unfortunately for me it is writing all the paragraphs, approximately 110 of them, to the first array cell. What do I need to do, to get each paragraph in its own cell?
-
May 15th, 2002, 06:18 PM
#2
To do this in Binary file mode, you will need to read in the data to a temporary variable, then look for the paragraph delimiters (either Chr$(13) or Chr$(10) or both), then split the text on those characters.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|