[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stupid zetalisp question about /

    Date: Mon, 1 Jul 91 17:18:10 -0600
    From: drstrip@cs.sandia.gov (David R. Strip)

    I am trying to create the string "/*" (*comment-begin* for
    c-mode) in a function defined in a file with zetalisp syntax.
    Needless to say if you type "/*", the string is really "*". 
    What I don't understand is why "//*" is "//*" instead of
    "/*". So, how do I get what I want?

You already have what you want.  The string contains "/*", but it
prints as "//*" because that's what the reader needs to see in order
to read it back in.  Print out the variable (or disassemble the
function definition or something) in a CL-syntax environment and you
will see it as "/*".