QUIZ 'PACK' command
Marcinik, Roger
roger.marcinik@analog.com
Wed, 9 Aug 2000 09:18:46 -0400
def d_line char*xx = PACK(city + st) + " " + zipcode
> ----------
> From: Bob Feighner[SMTP:bfeighnr@mailclerk.ecok.edu]
> Sent: Wednesday, August 09, 2000 10:13 AM
> To: powerh-l@sphere.swau.edu
> 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.