"pause" is missing

Discussion in 'AutoCAD' started by TCEBob, Feb 2, 2005.

  1. TCEBob

    TCEBob Guest

    When I execute a macro containing (command . . . pause . . . ) I get the error:
    "bad argument value: AutoCAD command: #<SUBR @05acb49c PAUSE>"
    Do I have a sick installation or is something else going on?

    rs
     
    TCEBob, Feb 2, 2005
    #1
  2. TCEBob

    Paul Turvill Guest

    Bad argument errors usally come up when LISP is expecting, say, a string,
    and gets a numeric value or a function name. Could you have possibly used
    the symbol 'pause' to represent a variable or user-defined function in
    another routine? If you restart AutoCAD without loading any routines except
    the one causing the error, does the error still occur?

    Does this happen if you type your (command ...) function at the Command:
    prompt? Does it happen all the time, or only in certain routines?
    ___
     
    Paul Turvill, Feb 3, 2005
    #2
  3. TCEBob

    TCEBob Guest

    Paul,

    Sorry for the delay -- I've been spending my time on the phone with Microsoft.
    After re-installing windows things are a bit better and this issue seems to be
    resolved.

    rs
     
    TCEBob, Feb 6, 2005
    #3
  4. Looks like you've defined a function and assigned
    it to the symbol PAUSE.
     
    Tony Tanzillo, Feb 28, 2005
    #4
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.