dni::sizeof_collection (::quartus::dcmd_dni)
The following table displays information for the dni::sizeof_collection Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::dcmd_dni 1.0 |
|||
| 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 | ||