# For Each Catalog Entry In Catalog
Grammar — For each entry entry in catalog catalog do (Actions)
Flags —SubFunctions
|Action
Runs the contained actions once for each entry in the catalog (default entries does not count).
# Arguments
int
<preset::CatalogType> — Cataloganyvariable
— Entry
Returns — void
#AUTOVAR(catalog, int) = #PARAM(catalog);
#AUTOVAR(i) = 1;
for ( ; #AUTOVAR(i) <= CatalogEntryCount(#PARAM(catalog)) ; #AUTOVAR(i) += 1 ) {
#PARAM(entry) = CatalogEntryGet(#AUTOVAR(catalog), #AUTOVAR(i));
#SUBFUNCS(actions)
}
# Related
Category: Catalog / Loops
- For Each Catalog Entry In Catalog — macro
- For Each Value In Catalog Field Array — macro
- For Each Scope Field Value In Catalog Field Scope Array — macro
# Examples
— None found —