In dict manual at "dict for"
The order of the arguments is wrong.


Wrong:
dict for {keyVariable valueVariable} dictionaryValue body

Correct
dict for  dictionaryValue {keyVariable valueVariable}body

Greg