@nd9600, there is no line information in errors. It would come up at times in the Rebol community, but I haven't seen it requested for Red yet. It's tricky, and Carl talked about it at one point, because there isn't always a concept of "lines". That is, Red doesn't need to maintain new line markers for processing in loaded code. Practically speaking, we use them a lot.
Greg, if Red code is just data , why can't the error indicate which element "#" in the series code block the error happened at?
function!both hold a reference to
set/onlyexample, or if the individual words were identifiable somehow?
>> o-1: object [a: none] == make object! [ a: none ] >> o-2: object [a: none] == make object! [ a: none ] >> blk: reduce ['a in o-1 'a in o-2 'a] == [a a a] >> blk == [a a a] >> set blk [1 2 3] == [1 2 3] >> a == 1 >> probe o-1 make object! [ a: 2 ] == make object! [ a: 2 ] >> probe o-2 make object! [ a: 3 ] == make object! [ a: 3 ]
boxneeds by trying
? boxbut it never works
?only works for proper Red code, not a dialect