Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.computer > #9990

javascript is so.....

Path csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx09.iad.POSTED!not-for-mail
From Robert Baer <robertbaer@localnet.com>
User-Agent Mozilla/5.0 (Windows NT 5.0; rv:12.0) Gecko/20120422 Firefox/12.0 SeaMonkey/2.9
MIME-Version 1.0
Newsgroups alt.computer
Subject javascript is so.....
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Lines 25
Message-ID <tcUez.2381$u64.948@fx09.iad> (permalink)
X-Complaints-To DMCA@thecubenet.com
NNTP-Posting-Date Tue, 05 Jul 2016 19:50:49 UTC
Date Tue, 05 Jul 2016 11:50:48 -0800
X-Received-Bytes 2082
X-Received-Body-CRC 1188251344
Xref csiph.com alt.computer:9990

Show key headers only | View raw


..impossibly opaque.
   There is a document open function/process/command/method [do not give 
a snap about the incomprehensible terminologies - care only about WHAT I 
CAN DO with it].
   Almost zero info as to what eXactly (yes, X-rated) can be opened; fur 
[i am a baer, after all] eggzample, i would like to open a file to READ it.
   Ideally a function, READ file line by line in a little test loop.
   If line starts "Subject:" (no quotes), i know following info is an 
e-mail subject and i want to use the subject string to be compared with 
var Subj[] and a count that started at zero is incremented if a match.
   Next line starts "From:" (no quotes), has optional name _usually_ in 
quotes and to be compared with var SendName[] where count is incremented 
on a match; mail URL to be compared with var Address[] where count is 
incremented on a match.
   All following lines to be compared with var EBody[] where count is 
incremented on each match (if only one match allowed, that is acceptable)
   Function to be used on incoming e-mail file.
   I use count to issue various levels of warnings, as well as APPEND 
the Subject, From, and Date lines to a log file.
   I have a pretty good list in that log file, and have gleaned the 
match criteria for those arrays.

   So, in short, 1) how do open a SPECIFIC file, 2) how do i 
sequentially READ that file, 3) how do i know when i get to the end of 
the file so that the procedure does not crash, but gracefully close?

Back to alt.computer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

javascript is so..... Robert Baer <robertbaer@localnet.com> - 2016-07-05 11:50 -0800
  Re: javascript is so..... Paul <nospam@needed.com> - 2016-07-05 16:47 -0400
    Re: javascript is so..... Robert Baer <robertbaer@localnet.com> - 2016-07-05 21:11 -0800

csiph-web