askeco / src_info_hf /api.get_instances.txt
gofeco's picture
Upload 100 files
b8d41f7 verified
raw
history blame
No virus
471 Bytes
<h3 id='___get_instances'>get_instances</h3>
<pre>Get all hierarchical instances in the top level module
<b>Usage:</b> my @instances = get_instances($pattern);
$pattern: Match pattern, can have wildcard "*", if it is empty, it is treated as "*"
@instances: Array of the hierarchical instances
<b>Examples:</b>
@instances = get_instances("UI_*"); # Any hierarchical instances with UI_ as prefix.
@instances = get_instances; # All hierarchical instances.
</pre>