On Sun, 2 Jul 2017 20:24:15 -0500, Bruce Hewson wrote:
>
>>> msg_cnt = msg.0   
>
>For larger REXX programs, there would be a small CPU saving to not code msg.0 
>in a DO loop.
>Accessing an indexed STEM variable has a longer path length than a simple 
>variable.
>
Ah!  Thanks.  It's even rumored that there's a special shortcut for one-letter
variable names.  Perhaps indexed rather than hashed.  I have no evidence
to support this.

>>Is there a problem if any of the msg.ix contain apostrophes?
>Not to REXX, but YES to the SEND command.
>Any quoted text being passed to SEND would need to be doubled, as per normal 
>TSO parameter quoted string usage.  for this usage:-
>
>quoted string    'text'
>double quoted string   'text''internal quoted text''more text'
>
>I do not think this would cause trouble   'text"internal text"more text'
>
And if the msg.ix is perverse enough to contain both quotation marks
and apostrophes?  HLASMhas a BIF for this, DOUBLE.  And some
ISPF Edit (and other) commands provide for referencing simple Rexx
variables (but not compound), so the hazard can be avoided.

>" /= ''
>
>:D  there are real name for the ' and the " symbol, but I forget what they are.
>
As above, I use "apostrophe" and "quotation mark".

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to