problem with Build Project FAS

Discussion in 'AutoCAD' started by Alan Henderson, Jan 12, 2004.

  1. I have just started creating FAS files and have run into a problem.

    I have a program that -
    user inputs command type to search for
    looks up custom shortcut commands using input
    lists them in a dialog box
    allows users to select a shortcut
    run the command

    When I run the Build Project FAS I get the following warning -

    ;;; CREATING PDB...
    [Analyzing file "C:/SewSpec/lsp/lsp/SSfc.lsp"]
    ..........
    ; warning: run time evaluated expression: (LIST (READ ( ... )))

    The line of code that is causing the error is -
    (eval (list (read (strcat "C:" CNAME)))) ;example C:pL for starting PLINE
    command

    The FAS program runs okay.
    I'm just curious if this is a problem or of another method of invoking a
    defined "C:" command
     
    Alan Henderson, Jan 12, 2004
    #1
  2. Alan Henderson

    John Uhden Guest

    It's just a warning. As long as *you* know the expression will evaluate
    properly, then all is well.
    As Tony T. has taught us, you might also try (apply (read (strcat "C:" CNAME))
    nil).
     
    John Uhden, Jan 13, 2004
    #2
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.