Associative array/Creation: Difference between revisions

Content added Content deleted
m (→‎{{header|NetRexx}}: remove savelog)
Line 1,550: Line 1,550:
<lang NetRexx>/* NetRexx */
<lang NetRexx>/* NetRexx */


options replace format comments java crossref savelog symbols
options replace format comments java crossref symbols


key0 = '0'
key0 = '0'
Line 1,559: Line 1,559:


say '<hash key="'key0'" value="'hash[key0]'" />' -- Display a value for a key that wasn't set
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
say '<hash key="'key1'" value="'hash[key1]'" />' -- Display a value for a key that was set</lang>
</lang>


{{out}}
{{out}}