Review of looping statements

Perform a technical review on the following methods after code editing.
Object
##Repeat.1(Object: Query)
... Text to be repeated ...
##EndRepeat.1
for each object where Query
{
... Text to be repeated ...
}
SubObject
##Repeat.1(Object: ...)
##Repeat.2(SubObject: Query)
... Text to be repeated ...
##EndRepeat.2
##EndRepeat.1
for each object where ...
{
for each SubObject where Query And ObjectId = [1.{ObjectId}]
{
... Text to be repeated ...
}
}
SubObjectAll
##Repeat.1(SubObjectAll: Query)
... Text to be repeated ...
##EndRepeat.1
for each SubObject where Query
{
... Text to be repeated ...
}
Collection
##Repeat.1(Object/SubObject/SubObjectAll: ...)
##Repeat.2(Collection: Query)
... Text to be repeated ...
##EndRepeat.2
##EndRepeat.1
for each object/sub-object where ...
{
for each item in collection And ObjectId = [1.{ObjectId}]/SubObjectId =
[1.{SubObjectId}]
{
... Text to be repeated ...
}
}
CollectionAll
for each Object where "has collection"
{
for each item in collection
{
... Text to be repeated ...
}
}
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal