13 lines
409 B
Plaintext
13 lines
409 B
Plaintext
/* NetRexx */
|
|
|
|
options replace format comments java crossref symbols
|
|
|
|
key0 = '0'
|
|
key1 = 'key0'
|
|
|
|
hash = '.' -- Initialize the associative array 'hash' to '.'
|
|
hash[key1] = 'value0' -- Set a specific key/value pair
|
|
|
|
say '<hash key="'key0'" value="'hash[key0]'" />' -- Display a value for a key that wasn't set
|
|
say '<hash key="'key1'" value="'hash[key1]'" />' -- Display a value for a key that was set
|