[REBOL] Re: Context - code included- 2nd version
From: rotenca:telvia:it at: 16-Sep-2001 14:17
> Hi Romano,
Hi, Ladislav
> I accepted Holger's suggestion.
Almost all :-)
> Moreover, your implementation has got a "hole" :
>
> word: to word! "nonsense:" ; == nonsense:
> type? word ; == word!
> type? first to block! mold :word ; == set-word!
I know it. I wanted just to ask to explain this thing:
probe to word! ":a:"
==:a:
>> probe to block! ":a:"
** Syntax Error: Invalid word -- :a:
** Near: (line 1) :a:
Is it a bug of to-word!, or i don't understand something?
> No, it isn't. It resembles one of my older implementations, but it doesn't
> yield the correct result e.g. in this case:
>
> word1: 'word1
> word2: use 'word2 ['word2]
Now i'll check code, but yours last published function get the right result?
---
Ciao (my english is bad)
Romano