|
|
|
|
|
- Usage example of the EnumElement function
Usage example of the EnumElement function This example is used to list the elements of a project. Trace("-- List of project elements") ElementName is string ElementName = EnumElement(enumAll) WHILE ElementName <> "" EnumRecursive(ElementName) ElementName = EnumElement() END
// --- Recursive procedure called by the code for enumerating the elements PROCEDURE EnumRecursive(NameEnumElement) Trace("--------------Enumeration:"+NameEnumElement+" --------------------") SubElementName is string SubElementName = EnumSubElement(NameEnumElement, enumFirst) WHILE SubElementName <> "" Trace("-", SubElementName) EnumRecursive(NameEnumElement + "." + SubElementName) SubElementName = EnumSubElement(NameEnumElement) END
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|