I need a function that uses PARSE
and the COPY x
rule, but does not change x
outside the function. I tried to use FUNCTION
to have it automatically pick up the local x
, but it does not work:
>> f: function [t] [parse t [copy x to end]]
>> f ["a"]
== true
>> print x
a