home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / 2332 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  876 b 

  1. Path: sparky!uunet!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Freezing a variable: how?
  5. Date: 28 Aug 1992 20:59:50 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 10
  8. Message-ID: <17m446INNfm5@early-bird.think.com>
  9. References: <1992Aug28.155335.12562@cs.cornell.edu>
  10. NNTP-Posting-Host: telecaster.think.com
  11. Keywords: Freezing variables: Declaring as constant from here on after:
  12.  
  13. In article <1992Aug28.155335.12562@cs.cornell.edu> raman@cs.cornell.edu (T. V. Raman) writes:
  14. >After an initial setup phase, I would like to declare a variable as
  15. >being unmodifiable. ... Is there a standard way of doing this?
  16.  
  17. No.  Constantness of a variable is a lexical property, not a dynamic one.
  18. -- 
  19. Barry Margolin
  20. System Manager, Thinking Machines Corp.
  21.  
  22. barmar@think.com          {uunet,harvard}!think!barmar
  23.