More about Records
More about Records
- Subject: More about Records
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 02 Jan 2001 11:57:31 -0800
Would someone like to explain what's going on here?
set r1 to {a:1, b:2, c:3}
set r2 to {a:1, b:2, c:75}
r1's {a, b}
-- {1, 2}
r2's {a, b}
-- {1, 2}
r1's {a, b} = r2's {a, b}
-- false
{r1's a, r1's b} = {r2's a, r2's b}
-- false
r1's a = r2's a and r1's b = r2's b
-- true
--
Paul Berkowitz