get struct key
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Returns the name of a structure element at the given index
Arguments and Return Values Arguments: A struct and an index number Return Value: A string name of the struct element
Usage Syntax: get_struct_key(object = STRUCT, index = INT) get_struct_key() returns the name of the structure element at the specified (1-based) index. If the element does not have a name attached to it, an empty string is returned.
Examples dv> s struct, 4 elements ele1: 12345 ele2: 67890 ele3: 11121 ele4: 31415 dv> get_struct_key(s,index=3) "ele3" |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 07-06-2009 |