Just wondering why?

Discussion in 'AutoCAD' started by LARRY, Mar 2, 2004.

  1. LARRY

    LARRY Guest

    Why when I (setq TYPE "PVC80")
    do my express tools stop working?
    it doesn't seem to matter what I set TYPE to PVC80
    or other material ie.stainless, carbon, ect.
     
    LARRY, Mar 2, 2004
    #1
  2. LARRY

    James Buzbee Guest

    if you use the VLIDE editor and type "TYPE" what color is it?

    jb
     
    James Buzbee, Mar 3, 2004
    #2
  3. LARRY

    Tom Smith Guest

    Just for fun, try (setq setq nil), that should kill just about any lisp
    function.

    Like any other language, you have to be careful about conflicting with
    predefined symbol names or reserved words.

    Technically, there are "thousands" of them as Doug says, but the vast
    majority are longwinded "vlax-newfangled-mile-long-function-name" things
    that you're never going to stumble into by accident. The more traditional
    symbols are things like setq and nil, and there are far fewer of them that
    you need to worry about.
     
    Tom Smith, Mar 3, 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.