[REBOL] Re: R: Re: R: Re: This is a strange thing
From: dockimbel:free at: 4-Jul-2001 15:31
Romano Paolo Tenca wrote:
[...]
> Another thing: why doesn't exist the function:
>
> to-datatype
>
> ciao (excuse my bad english)
> romano paolo tenca
Hi Romano,
Here's a quick implementation of 'to-datatype :
to-datatype: func [word][first reduce bind to-block word 'system]
ex:
>> type? to-datatype 'string!
= datatype!
>> type? to-datatype "string!"
= datatype!
>> type? to-datatype [string!]
= datatype!
HTH,
DocKimbel.