(let ((char (read-char dialog-stream)))

39 views
Skip to first unread message

Santiago Carbonell

unread,
Aug 29, 2012, 4:08:59 AM8/29/12
to land-o...@googlegroups.com
In this construct:
 
(let ((char (read-char dialog-stream)))
...
 
char is a function or a variable?
 
Thanks

Andrew Vargo

unread,
Aug 29, 2012, 3:55:18 PM8/29/12
to land-o...@googlegroups.com
char is a variable scoped to the let.

(let (list of variable assignments)
  do stuff
)

(let ((char (read-char dialog-stream))
        (i  1)
        (wallaby "fuzzy"))
   ; something about a single fuzzy wallaby with character)
Reply all
Reply to author
Forward
0 new messages