getd_index
| Definition: | integer node = getd_index(object key, integer tid=1) |
| Description: | Retrieve the node index corresponding to the specified key. |
| pwa/p2js: | Supported. |
| Comments: |
tid can be omitted, to use the default dictionary, or the result of a previous new_dict() call.
If the key does not exist, a value of 0 (NULL) is returned. Otherwise the result can be passed to getd_by_index() to retrieve the corresponding data (without a further search). |
| Example: |
?getd_index("key")
|
| See Also: | getd, getd_by_index |