word!s in a block! aren't bound to a certain context a priori, you have
to use reduce in order to get the expected results:

my-func: func [arg [block!]]  [
  foreach [name value] arg [
    print reduce ["Name: " name]
    print reduce ["Value: " value]
  ]
]

This way it will work.

Enjoy,
Chris

Reply via email to