Skip to main content

CountObjects

CountObjects (sourceFolderStr, objectType)​

The CountObjects function returns the number of objects of the specified type in the data folder specified by the string expression.

CountObjectsDFR is preferred.

Parameters​

sourceFolderStr can be either ":" or "" to specify the current data folder. You can also use a full or partial data folder path. objectType should be one of the following values:

1:Waves
2:Numeric variables
3:String variables
4:Data folders

See Also​

Data Folders, GetIndexedObjName