On Thu, 3 Oct 2002, Trey Harris wrote: : In a message dated Thu, 3 Oct 2002, Allison Randal writes: : > So far, classes are uppercase and properties are lowercase, but that's : > convention, not law. : : Do runtime (value) properties and compile-time (variable) properties share : the same namespace?
In general, no. : That is, to go back to an earlier discussion, if there is a system-defined : value property C<true> which marks a value as true in boolean contexts, : can I also define a compile-time property C<true> that makes the variable : evaluate as true, whatever its value? No, I think the boolean test would probably ignore the variable at that point. Think of variable properties as more of a "tie". The variable could contrive to always return a true value, but that's about it. There's unlikely to be any implicit relationship between variable properties and value properties. A major exception to that might be that the type declared on the variable is checked against the value's type at appropriate times. Larry