Hi Elan,
>Hi Michael,
>
>1. The Problem
>2. The Solution
>
>1. The Problem:
retval: curr-func
switch retval [none [print "val-none"] "abort" [print "val-abort"]]
>>== none
>>
>>Notice that the == none is the value returned from 'switch, not the
>>execution of the none block. To further
[EMAIL PROTECTED] wrote:
> >> retval: curr-func
> >> switch retval [none [print "val-none"] "abort" [print "val-abort"]
Did you realize that the one above is a value of type word! and
value "none", while your return value is a value of type none! ?
You can solve this pr
Hi Michael,
1. The Problem
2. The Solution
1. The Problem:
>>> retval: curr-func
>>> switch retval [none [print "val-none"] "abort" [print "val-abort"]]
>== none
>
>Notice that the == none is the value returned from 'switch, not the
>execution of the none block. To further illustrate:
The reas