Yes, I always ensure that anything used for subscripting is within bounds 
(including lower-bound), either logically or explicitly. This is, 
unsurprisingly, recommended by IBM.

However, doing this turns out to be far from universal. I guess that's why 
SSRANGE was introduced originally (I think with COBOL II).


On Tuesday, 5 April 2016 02:51:24 UTC+1, Steve Beaver  wrote:
> Personally I have NEVER used subscript range.  I have always checked the 
> upper ranges
> Before I do anything having to do with indexing through arrays
> 
> Steve
> 

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

Reply via email to