Changes between Initial Version and Version 1 of FrequentlyAskedQuestions


Ignore:
Timestamp:
Nov 4, 2008, 3:58:27 AM (12 years ago)
Author:
rme
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FrequentlyAskedQuestions

    v1 v1  
     1= Frequently Asked Questions about Clozure CL =
     2
     3== Lisp ==
     4
     5=== RANDOM always returns the the same sequence of numbers. ===
     6In Clozure CL, the initial random state in a thread is always the same.  This sometimes
     7shows up in SLIME when people use something like C-c C-r on a form involving RANDOM
     8and are surprised to see the same result every time.
     9
     10== Cocoa Bridge ==
     11
     12=== The #$ reader macro doesn't find certain Cocoa constants. ===
     13Some of the "constants" that Cocoa uses are not numeric constants at all, but are
     14actually variables that refer to instances of NSString.
     15
     16For instance, NSTitledWindowMask is an actual numeric constant, so #$NSTitledWindowMask => 1.
     17On the other hand, NSFontAttributeName is a variable which refers to an NSString.  In cases like this, use
     18the #& reader macro: #&NSFontAttributeName =>#<NS-MUTABLE-STRING "NSFont" (#x7FFF701D8410)>.
     19
     20