# 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
- [F] —
void
— For Each Catalog Entry In Catalog — ( ) - [F] —
void
— For Each Value In Catalog Field Array — ( ) - [F] —
void
— For Each Scope Field Value In Catalog Field Scope Array — ( )
# Examples
— None found —