home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / scheme / c / 97 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  764 b 

  1. Path: sparky!uunet!olivea!charnel!sifon!CC.UMontreal.CA!kardank
  2. From: kardank@ERE.UMontreal.CA (Kardan Kaveh)
  3. Newsgroups: comp.lang.scheme.c
  4. Subject: unbound variable detection
  5. Message-ID: <1993Jan22.044623.19581@cc.umontreal.ca>
  6. Date: 22 Jan 93 04:46:23 GMT
  7. Sender: news@cc.umontreal.ca (Administration de Cnews)
  8. Organization: Universite de Montreal
  9. Lines: 20
  10.  
  11. Is it possible to tell if a given variable is undefined?
  12.  
  13. For example, something along the lines of:
  14.  
  15. (define x 3)
  16.  
  17. (bound? x) --> #t
  18.  
  19. (bound? y) --> #f
  20.  
  21. Thanks,
  22.  
  23. Kaveh
  24.  
  25.  
  26. -- 
  27. ------------
  28. Kaveh Kardan                                       kaveh@taarna.UUCP
  29. Systeme Taarna                                     kardank@eole.umontreal.qc.ca
  30. Montreal Quebec Canada                             (514)844-8448
  31.