getd_all_keys
| Definition: | sequence res = getd_all_keys(integer tid=1, bool bKeys=true) |
| Description: | Retrieve all keys present in the specified dictionary, or all data if bKeys is false. |
| pwa/p2js: | Supported. |
| Comments: |
tid can be omitted, to use the default dictionary, or the result of a previous new_dict() call.
Ideal when you don’t really need the data, just the keys (in order), or vice-versa, and obviously simpler than using traverse_dict(). |
| Example: |
setd("this",11)
setd("that",7)
setd("those",33)
?getd_all_keys() -- prints {"that","this","those"}
|
| See Also: | getd, traverse_dict |