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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 19 Mar 2009 21:37:09 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
On Mar 19, 2009, at 9:32 PM, Stockly, Ed wrote:

>>>> 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).
>
Not mine when I was looking for a list I saw something that said one  
little town in new york has a connecticut zipcode and is server by a  
connecticut post office.

You could special case that one out.

ATOM RSS1 RSS2