Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.6.8. dni::sizeof_collection (::quartus::dcmd_sdc_collection_api)

The following table displays information for the dni::sizeof_collection Tcl command:

Tcl Package and Version

Belongs to ::quartus::dcmd_sdc_collection_api

Syntax dni::sizeof_collection [-h | -help] [-long_help] [-categorize] <collection>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-categorize Return 0, 1, 2 indicating if the collection has 1, or or more than 1 item
<collection> The base collection
Description
Returns the number of objects in a collection.
Example Usage
set size [::dni::sizeof_collection $collection]
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful