throw vs the result
Dar Scott
dsc at swcp.com
Sun May 1 01:35:52 EDT 2005
On Apr 30, 2005, at 10:38 PM, J. Landman Gay wrote:
> The HyperCard standard for this was to preceed the value with a
> special string, commonly "Error:". Then your handler just checks to
> see if word 1 is that string.
>
> put myFunction() into tValue
I suppose this would propagate:
put myOtherFunction( myFunction() ) into tValue
...so that if myFunction has an error the "Error:" string will be in
tValue
Dar
--
**********************************************
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**********************************************
More information about the use-livecode
mailing list