[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Sep 18 08:55:03 1997 
Subject:Re: @ in Lisp 
From:John Williams 
Volume-ID:970918.01 

>Is there any way of stopping  @fred from meaning "get the value of the
>POP-11 variable "fred" in Poplog Common Lisp.

>One reasonable solution is
>
>(set-macro-character #\@
>    #'(lambda (stream char) (intern "@")))
>
>T'isnt quite right, cos @ won't "stick" to adjacent characters.


The correct way to do this is to use SET-SYNTAX-FROM-CHAR, e.g.

    (set-syntax-from-char #\@ #\a)


John.