Ilya Zakharevich on Fri, 27 Aug 2004 00:55:06 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: read-only variable

On Tue, Aug 24, 2004 at 05:50:18PM -0400, Igor Schein wrote:
> Hi,
> I propose a function protect(var), which would make variable var
> write-protected for the duration of the session to guard against
> accidental over-writing.  Is it easy to implement?

Is not it "the same" as a function without parameters?