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/
-><-

Reply via email to