Hash (associative array) module. More...
Data Types | |
| type | hash |
| interface | dchashput |
| interface | dchashnumber |
| interface | dchashputline |
| interface | dchashrewind |
| interface | dchashnext |
| interface | dchashget |
| interface | dchashdelete |
| interface | put |
| interface | number |
| interface | putline |
| interface | rewind |
| interface | next |
| interface | get |
| interface | delete |
Hash (associative array) module.
This module provides hash (associative array) which is familiar in script languages.
Currently, only character type can be given as "value".
| Procedure | Description |
|---|---|
| DCHashPut | Add key and value to hash |
| DCHashGet | Get associated value from hash with key |
| DCHashRewind | Initialize for searching entire hash |
| DCHashNext | See Rewind |
| DCHashDelete | Delete associated value from hash with key |
| DCHashNumber | Return size of hash |
| DCHashPutLine | Print hash contents to stdout (for debug) |
Output:
key=key1, value=val1 number(hashv)= 3 key=key2, value=val2 key=key3, value=val3