Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Loading text file into an array

Posted on 2005-04-22
6
Medium Priority
?
355 Views
Last Modified: 2013-12-18
Hi,
i need to load a text file (it could be comma separated text or something like that)
into an array (one dimension)
Is there a way to load like if we are using a db table?
I mean, some kind of "import" and in that way, not need to read line by line and parse strings (too slow)
Thanks in advance
0
Comment
Question by:Richie_Simonetti
  • 3
  • 3
6 Comments
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 13843219
By the way, in Lotusscript...
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 13844488
Better tell some more, there are too many ways I could fail to guess what you're up to. The approach isn't quite right, for any file over a certain size (32 or 64 Kb) cannot be read into an array. Not even in LotusScript... :) And who cares about slow? You could import the entire file in a rich-text field, and have an agent to dismember that file on the server.
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 13845169
"You could import the entire file in a rich-text field, and have an agent to dismember that file on the server."
Please continue, tell me more... i am opened to others suggestions too.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 500 total points
ID: 13845628
> Better tell some more, there are too many ways I could fail to guess what you're up to.

Please??

If the file were imported in a document in a rich-text field, you could write an agent that opens those documents, saves the stored file to disk, then reads that file the old-fashioned way (because there is no other :).
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 13845681
"then reads that file the old-fashioned way (because there is no other :)."
Ok. I was thinking that could be other way.
Thanks.
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 13845737
So sorry if I mislead you :|
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased riskā€¦
Suggested Courses

564 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