HP3000-L Archives

March 2005, Week 4

HP3000-L@RAVEN.UTC.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:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Tue, 22 Mar 2005 20:09:53 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
You could always append "address;" then remove the final semicolon when
you are done via:
   setvar list rht(list,-2)

HTH,
 Jeff 

> I'm cobbling together a command file to assemble a list of 
> email recipients from a lookup file, using passed parms for a 
> one-to-many match with addresses, so I want the result to be 
> of the form:
> [log in to unmask]; [log in to unmask]; [log in to unmask] I'll start off 
> with an empty list. I'll add the first address. If I then 
> have a second address, I want to add the semi-colon and 
> space. But I cannot have a semi-colon after the last address. 
> And while there is more than one way to skin this cat, I'm 
> wondering what is the most efficient, most elegant way? 
> Adding the semicolon and space after each address will not 
> work, since the last address cannot have it. Prefixing each 
> address will not work, since I cannot have one before the 
> first address.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2