How to disappear of string

Discussion in 'AutoCAD' started by Adesu, Sep 23, 2004.

  1. Adesu

    Adesu Guest

    _$ (defun Table (s / d r)
    (while (setq d (tblnext s (null d)))
    (setq r (cons (cdr (assoc 2 d)) r))))
    (setq lisfont (table "style"))
    TABLE
    ("impact" "hvbo" "garamond" "curier new" "complex" "century" "arial"
    "Standard")
    _$ (setq lf1 (nth 0 lisfont))
    (setq lf2 (nth 1 lisfont))
    (setq lf3 (nth 2 lisfont))
    (setq lf4 (nth 3 lisfont))
    (setq lf5 (nth 4 lisfont))
    (setq lf6 (nth 5 lisfont))
    (setq lf7 (nth 6 lisfont))
    (setq lf8 (nth 7 lisfont))
    (setq lf9 (nth 8 lisfont))
    (setq lf10 (nth 9 lisfont))
    "impact"
    "hvbo"
    "garamond"
    "curier new"
    "complex"
    "century"
    "arial"
    "Standard"
    nil
    nil
    _$ (alert (strcat "\nLIST FONT ON DRAWING CURRENT"
    "\n "lf1" "lf2" "lf3" "lf4" "lf5" "
    "\n "lf6" "lf7" "lf8" "lf9" "lf10" " ))
    ; error: bad argument type: stringp nil

    Hi Alls,How to disappear of string ("impact" to impact),because on "alert"
    become two string,this is problem to display alert.
     
    Adesu, Sep 23, 2004
    #1
  2. Adesu

    LUCAS Guest

    (alert (strcat "\nLIST FONT ON DRAWING CURRENT" "\n"
    LF1 " " LF2 " "
    LF3 " " LF4 " "
    LF5 "\n" LF6 " "
    LF7 " " LF8
    )
    )
     
    LUCAS, Sep 23, 2004
    #2
  3. Adesu

    Adesu Guest

    Hi LUCAS, perfect and nice,thanks a lot

     
    Adesu, Sep 23, 2004
    #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.