comment in visual lisp

Discussion in 'AutoCAD' started by sjgau02, Jun 3, 2005.

  1. sjgau02

    sjgau02 Guest

    i knowed the comment in autolisp is: ";",
    but only 1- line effect.

    can someone tell me, how to comment many lines
    as C++
    /* ---
     
    sjgau02, Jun 3, 2005
    #1
  2. sjgau02

    Paul Turvill Guest

    ;| at the beginning,
    and at the end,
    |;
    ___
     
    Paul Turvill, Jun 3, 2005
    #2
  3. sjgau02

    sjgau02 Guest

    Thanks very much!
    I live at Taiwan, with your reply, i have tried the following code,
    OK!

    Thanks very much again!

    ; --------------------------------------
    ; test block comment

    (princ "- 000, hello, world!\n")
    ; (princ "- 111, hello, world!\n")

    (princ "- 222, hello, world!\n")
    ;| (princ "- 333, hello, world!\n")
    (princ "- 444, hello, world!\n")
    (princ "- 555, hello, world!\n") |;

    (princ "- 666, hello, world!\n")
    (princ "- 777, hello, world!\n")
    (princ "- 888, hello, world!\n")
    (princ)
     
    sjgau02, Jun 4, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.