2 Loop Constructs

2.10 User extension

If you need to iterate over a data structure that is not supported by an existing loop construct, you can extend the predefined loop iteration capabilities by using loop methods. The Loop Facility provides the following constructs to support this type of user extension:


The macrodefloop provides iteration extensions that access sequence-like data structures. The macrodefine-loop-method is more general; it can be used for any type of series generation. However,define-loop-method is much more complex thandefloop and is considered an advanced topic.

2.10.1 - Invoking loop methods
2.10.2 - Inclusivity
2.10.3 - Reference pages

The Loop Facility - 9 SEP 1996

Generated with Harlequin WebMaker