Thanks Andrew:
Do you have an example of a getter/setter function.
I can't find a reference to such in the documentation that
I have.
:) Tim
At 08:18 PM 7/8/00 +1200, you wrote:
>Tim wrote:
>> I know that I can protect a value, so that it becomes a constant (sort
>of).
>> BUT:
>> Can I protect the data type?
>> In other words, can I force a variable to retain a specific data type?
>
>I'm very sure that's a no.
>
>But with an object and using getter/setter functions, you can do this, by
>limiting the getter/setter functions to a specific datatypes for their
>arguments.
>
>Andrew Martin
>ICQ: 26227169
>http://members.xoom.com/AndrewMartin/
>-><-
>
>