Next: , Previous: Input and output, Up: Input and output


3.1 Read macros

#P"
#"string" reads a pathname. #"string" is equivalent to (pathname "string").
#$
#$integer reads a random state. #$integer is equivalent to (make-random-state integer).

The # macro '#,' works as described in [see Steele:84], only if it is included in a constant object. The forms immediately after `#,' below will be evaluated when the compiled code is loaded.

     '#,x
     '(a b c (d #,e f) g)
     #(1 2 3 #,(+ a b c) 5 6)
     #C(0.0 #,(exp 1))

Otherwise, the effect of using '#,' is unpredictable. Note that, when interpreted code is loaded, '#,' has the same effect as the # macro '#.'.