"Exporting" variables & commands

Discussion in 'AutoCAD' started by perry, May 11, 2004.

  1. perry

    perry Guest

    One thing I miss about Lisp is that if I make a variable global in one
    program, it is available to other programs.
    For now I have "kludged" by doing a sendcommand to make a few of my VBA
    variables available to another lisp
    program but it doesnt look very pretty seeing that stuff scroll by on the
    command line.
    Is there an effective way to share data between a VBA program and the global
    namespace of Acad?

    Also something I miss is the ability to create "C" commands, i.e. (defun
    c:mycommand) so that they can be called
    by their name or simply typed in at the command line. I dont see any way of
    doing this with VBA, am I wrong?
    Do I have to have stuff like this "vbarun mymacro" in menu's etc.?
    Do these "limitations" hold true for standalone VB6 programs?
    thanks
     
    perry, May 11, 2004
    #1
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.