Article View: comp.sys.xerox
Article #458DATE becomes a constant when compiled
From: Kevin_Crowston
Date: Thu, 18 Feb 1988 22:30
Date: Thu, 18 Feb 1988 22:30
17 lines
755 bytes
755 bytes
In Lyric, with the CL compiler, (DATE) seems to be treated as a constant. For example, (DEFINEQ (a () (DATE))) Calling a when it's interpreted correctly returns the current date, which is different each time. Now: (CL:COMPILE 'a) Now calling a gives the same answer each time, the time at which a was compiled. Kevin Crowston MIT Sloan School of Management
Technical Details
Message-ID:
<0.43520.20995.54699.9677@XV.MIT.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!ucbvax!XV.MIT.EDU!Kevin_CrowstonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!ucbvax!XV.MIT.EDU!Kevin_Crowston From: Kevin_Crowston@XV.MIT.EDU Newsgroups: comp.sys.xerox Subject: DATE becomes a constant when compiled Message-ID: <0.43520.20995.54699.9677@XV.MIT.EDU> Date: 18 Feb 88 22:30:46 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17