fun with records and keywords
fun with records and keywords
- Subject: fun with records and keywords
- From: has <email@hidden>
- Date: Thu, 18 Oct 2001 18:46:38 +0100
I found the following oddly amusing (maybe I've been at the computer too
long...?):
set x to {class:string, contents:"test"}
get class of x
--> string
get contents of x
--> "test"
It looks like my properties are overriding the object's own when I query
them. Bizarre. Is that what's expected?
Useful? Safe to use?
has