RosettaCodeData/Task/Associative-array-Creation/REXX/associative-array-creation-1.rexx
2015-02-20 00:35:01 -05:00

10 lines
357 B
Rexx

/* Rexx */
key0 = '0'
key1 = 'key0'
stem. = '.' /* Initialize the associative array 'stem' to '.' */
stem.key1 = 'value0' /* Set a specific key/value pair */
Say 'stem.key0= 'stem.key /* Display a value for a key that wasn't set */
Say 'stem.key1= 'stem.key1 /* Display a value for a key that was set */