On Wed, 17 Sep 2025 13:42:49 -0400, Phil Smith III wrote:
>    ...
>In Rexx, it's a very good idea to ALWAYS know what's a literal and what's a 
>variable and to quote all literals. It not only avoids problems but is also 
>more efficient.
>
>(The "problems" part comes when you have that line as you wrote it working, 
>and then someone assigns variable LOWER to some value and all hell breaks 
>loose!)
>
What "someone"?  No one but me changes that EXEC and I'd never do that.

I strongly counsel and generally use SIGNAL ON NOVALUE to alert
myself to this.  Shmuel will probably disagree, perhaps because
it costs 18 keystrokes when coding.  but I contend it saves parser
cycles and enormous debugging time.

I have even started using 'set -o no''unset' in complicated shell
scripts to catch spelling errors.

-- 
gil

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

Reply via email to