Re: Subrange of a list

2022-05-27 Thread Charles Mills
Is always five elements? You want to yield a subscripted variable such that (1) = B, (2) = C, ... Is that right? You don't like (1) SETC (2) Etc.? You don't like it because the count is not always five? There's a thing called Created SET symbols that might be relevant but I confess I am

Subrange of a list

2022-05-27 Thread Paul Gilmartin
I'm trying to achieve the effect of POSIX shell "shift" or Rexx "subword(2)". Suppose my is A,B,C,D,E. Is there a straightforward way to discard the A, and get B,C,D,E such as (2..5)? (I do not consider a loop straightforward.) -- Thanks. gil

Re: Generating a TR field

2022-05-27 Thread Steve Smith
Ed might have prioritized brevity because he's not paid to do your coding for you. His example is idiomatic for an experienced developer, and if you're not experienced, then you have a learning opportunity. I have no patience with the fear that a "maintenance newbie" can't be expected to learn

Re: Generating a TR field

2022-05-27 Thread Paul Gilmartin
On May 27, 2022, at 10:08:37, Charles Mills wrote: > > ORG , is not two empty arguments. It is one empty argument, with a comma so > that the first word of any comment does not get taken as an argument. > This was discussed here long ago and the experts agreed that for macros at least:

Re: Generating a TR field

2022-05-27 Thread Charles Mills
ORG , is not two empty arguments. It is one empty argument, with a comma so that the first word of any comment does not get taken as an argument. ORG Get back where we were Would give you an error on "Get" (unless GET happened to be a valid label, which would yield a

Re: Generating a TR field

2022-05-27 Thread Paul Gilmartin
On May 26, 2022, at 16:26:38, Charles Mills wrote: > > And what is that? Some comments? > My thought, but what?: A paraphrase of the OP's requirement? And/or explanation of the unintuitive semantics of: o "*" within a repetitive constant definition? o A character self-defining term used as a

Re: Generating a TR field

2022-05-27 Thread Schmitt, Michael
Ooh, that is slick. -Original Message- From: IBM Mainframe Assembler List On Behalf Of Ed Jaffe Sent: Thursday, May 26, 2022 4:36 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: Generating a TR field On 5/26/2022 2:23 PM, Schmitt, Michael wrote: > I want to replace all '*' with a