print-val: func ['val [any-type!]] [
  print either unset? get/any 'val ["No value given"] [get 'val]
]

>> print-val 1234 print-val print "DONE" print "WHAT?"

how about this?

print-val 1234 (print-val) print "DONE" print "WHAT?"

will that stop the greedy parser from grabbing the next item?



Reply via email to