Hi Ashley,
>>convert: func [
>>x
>>/local y
>>] [
>>y: make struct! compose/deep [x [(type?/word x)]] reduce [x]
>>third y
>>]
>>
>>
>
>OK, this one has me stumpted. For us mere mortals, could you explain:
>
> >> help y
> Y is a struct of value: make struct! [x [de
Hi Ashley,
On Monday, February 2, 2004, 2:32:09 PM, you wrote:
AT> how and why this works, in particular where "third y" comes from?
I think it is documented in the struct! docs...
AT> Also,
AT> how does one reverse the conversion (i.e. get 0.2 from #{9A99C93F}
AT> )?
>> s: make stru
Hi Ladislav,
> convert: func [
> x
> /local y
> ] [
> y: make struct! compose/deep [x [(type?/word x)]] reduce [x]
> third y
> ]
OK, this one has me stumpted. For us mere mortals, could you explain:
>> help y
Y is a struct of value: make struct! [x [decimal!]] [0