

Designing the Procedure Logic › Handle Repeating Groups › Explicit Subscripting › Implicit Subscripting Example
Implicit Subscripting Example
--- FOR EACH elephants
| SET elephant_size TO elephantine
---
Note: Using implicit subscripting eliminates the need to initialize, maintain, and test the subscript value.
Certain action diagram constructs apply only to explicitly indexed repeating group views:
- FOR action
- SUBSCRIPT OF repeating-group-view special attribute
- LAST OF repeating-group-view special attribute identifies the highest subscript value for which a repeating group view occurrence exists.
- MAX OF repeating-group-view special attribute identifies the maximum cardinality of the repeating group view.
SUBSCRIPT OF, LAST OF, and MAX OF are used in numeric expressions
SUBSCRIPT OF and LAST OF can be the target of a SET statement.
Copyright © 2013 CA.
All rights reserved.
 
|
|