Link to home
Start Free TrialLog in
Avatar of Richie_Simonetti
Richie_SimonettiFlag for Argentina

asked on

Loading text file into an array

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
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

ASKER

By the way, in Lotusscript...
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.
"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.
ASKER CERTIFIED SOLUTION
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"then reads that file the old-fashioned way (because there is no other :)."
Ok. I was thinking that could be other way.
Thanks.
So sorry if I mislead you :|