Hi Rodney,

note that you can do this to prevent your argument from being executed:

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

Here's the result of running your code:

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

1234
print
WHAT?


REBOL can't know whether 'print is an argument to 'print-val or not.
To do that, it would have to tell data from code.
You wouldn't want that would you? ;)

Gisle

Reply via email to