Re: How do you check the equivalency of references?
Re: How do you check the equivalency of references?
- Subject: Re: How do you check the equivalency of references?
- From: Arthur J Knapp <email@hidden>
- Date: Fri, 10 Aug 2001 17:52:10 -0400
>
Subject: Re: How do you check the equivalency of references?
>
Date: Fri, 10 Aug 2001 14:29:38 +0100
>
From: Nigel Garvey <email@hidden>
>
on isRef(val)
>
try
>
contents of val
>
return (result is not val)
>
on error
>
return false
>
end try
>
end isRef
There is another way to determine references:
count of references in {v} = 1
Richard 23 once pointed out to me a very good reason why the
"contents of" method is better, though I can't recall what it was.
Hey, where is that guy, anyway?
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://www.vivaladata.com
From email@hidden Fri Aug 10 15:00:01 2001
Path: forum.apple.com!paloalto-snf1.gtei.net!news.gtei.net!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail