Results 1 to 4 of 4

Thread: too few arguments on compile

  1. #1
    Member
    Join Date
    2002-11
    Posts
    42
    Login to Give a bone
    0

    Default too few arguments on compile

    below is an error message when trying to compile an autolisp and dcl file using the create application wizard thru the visual lisp editor. any help would be appreciated as i am at a loss.

    ; error: too few arguments in SETQ: "(setq choice1)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice2)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice3)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice4)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice5)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice6)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice7)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice8)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice9)(done_dialog)"
    ; error: too few arguments in SETQ: "(setq choice10)(done_dialog)"
    .............
    ; Compilation aborted: Fatal errors found.
    Last edited by Opie; 2005-10-28 at 06:32 PM. Reason: disabled smilies

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: too few arguments on compile

    The setq function in AutoLisp requires that you have a set of two arguments, minimum. The first argument is the variable (or symbol) name. The second argument is the value (or expression) you want assigned to the variable (or symbol).
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Member
    Join Date
    2002-11
    Posts
    42
    Login to Give a bone
    0

    Default Re: too few arguments on compile

    the program runs from the command line. how do i fix this problem?

  4. #4
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    0

    Default Re: too few arguments on compile

    You place the correct value for each variable within each of your setq.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. error: too many arguments??
    By tedg in forum AutoLISP
    Replies: 3
    Last Post: 2010-08-31, 02:58 AM
  2. compile vba and create dll
    By Serhan_BAKIR in forum VBA/COM Interop
    Replies: 6
    Last Post: 2008-11-18, 10:51 AM
  3. Compile XML Documents
    By andy.millard in forum AutoLISP
    Replies: 3
    Last Post: 2008-09-19, 03:16 PM
  4. arguments
    By d_m_hopper in forum AutoLISP
    Replies: 4
    Last Post: 2007-08-24, 03:03 PM
  5. Compile Error???
    By msretenovic in forum VBA/COM Interop
    Replies: 13
    Last Post: 2005-09-06, 01:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •