Running a lisp routine using a lisp routine

Discussion in 'AutoCAD' started by ben_chowdhary, Feb 16, 2005.

  1. I have two lisp files - osprey.lsp and track.lsp. Both are created using a separate QBasic program (I know it's OLD).

    Is it possible to start the osprey routine, then call up the track routine using osprey and then once track is finished, continue on with osprey? The track routine needs to be run at the start of osprey.

    Ben
     
    ben_chowdhary, Feb 16, 2005
    #1
  2. ben_chowdhary

    Tom Smith Guest

    You probably need to do something like this. Make a new file, for example
    t&o.lsp, containing:

    (load osprey.lsp)
    (load track.lsp)
    (defun c:t&o ()
    (c:track)
    (c:eek:sprey)
    )
     
    Tom Smith, Feb 16, 2005
    #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.