MACSCRPT Archives

March 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stockly, Ed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 19 Mar 2009 18:32:23 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
 >>>I believe that Ed uses Excel. Ed, you could import a tab or
comma-delimited text file

I do, but this isn't for me, it's a script used by someone else...



>>Mark Reed>>Well, sure.  If you don't mind having a massive list in memory, you
can make it even faster:

What OSAX are you using to get "position"?

Plus, yours doesn't handle the zips that lie outside the ranges

For Example....

>>Mark Lively>>One problem, 06390 is in New York.

Drat. 

The source page I was using had this for New York:
(ZIP >= 90 && ZIP <= 149) || (ZIP == 4) || (ZIP == 63)

Which is correct, but it had this for Connecticut:
ZIP >= 60 && ZIP <= 69

Which is not correct. (Nice catch, Mark).

Thanks everyone, I'll

Ed
(Apologies about the wrong subject, I decided to drop digest mode to avoid
that in the future)

ATOM RSS1 RSS2