Verry weird result too few/many arguments

Discussion in 'AutoCAD' started by Marcel Janmaat, Mar 11, 2005.

  1. I have a lisp-routine called apu

    (apu 1) results in too few arguments
    and
    (apu 1 1) results in too many arguments

    I have this problem on a diifferent PC than my own, running the same code.
    On my own PC it works just fine.

    Has anybody got an idea?

    M
     
    Marcel Janmaat, Mar 11, 2005
    #1
  2. There could be a call to a function inside the apu function, or a function
    called by the apu function, etc., that could be giving one of the error
    messages.
     
    Randy Richardson, Mar 11, 2005
    #2
  3. whose code is the APU function? Yours?

    Is it written in LISP or ARX?
     
    Tony Tanzillo, Mar 11, 2005
    #3
  4. Written in Lisp.

     
    Marcel Janmaat, Mar 13, 2005
    #4
  5. Well, can you post the function or at least,
    the part that shows the argument list?
     
    Tony Tanzillo, Mar 13, 2005
    #5
  6. Marcel Janmaat

    mmm Guest

    could it be that apu is redefining apu?

    --
    Princess Jamie,

    Life shrinks or expands in proportion to one's courage.
    - Anais Nin

    | I have a lisp-routine called apu
    |
    | (apu 1) results in too few arguments
    | and
    | (apu 1 1) results in too many arguments
    |
    | I have this problem on a diifferent PC than my own, running the same code.
    | On my own PC it works just fine.
    |
    | Has anybody got an idea?
    |
    | M
    |
    |
     
    mmm, Mar 14, 2005
    #6
  7. Just Found it Tony, thanx anyway.

    M

     
    Marcel Janmaat, Mar 14, 2005
    #7
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.