QUIZ 'PACK' command

John T. Hunter jthunter@nbnet.nb.ca
Wed, 9 Aug 2000 10:28:33 -0300


Hey Bob,

I'm sure this won't be the only reply ;-)

How about:

PACK(city + ' ' + state) + LJ(zip)

-John

-----Original Message-----
From: Bob Feighner <bfeighnr@mailclerk.ecok.edu>
To: powerh-l@sphere.swau.edu <powerh-l@sphere.swau.edu>
Date: August 9, 2000 10:13 AM
Subject: QUIZ 'PACK' command


>Greetings Gurus,
>
>My question is simple, but the solution isn't (to me). I'm trying to format
>address labels exactly as prescribed by the US postal service.
Specifically, the
>last line should look like this:
>CITY ST  12345-6789
>
>Our files are set up so that city, state, and zip are three separate
fields, so
>this should be a simple use of the PACK command. Well, I want TWO spaces
between
>city state and zip code. I've tried various ways to fool the PACK command,
but
>it continues to place one space between these fields.
>
>Any ideas on forcing two blank spaces? Thanks.
>
>Bob Feighner
>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
>Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
>This list is closed, thus to post to the list, you must be a subscriber.
>

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.