alijahed Posted May 17, 2010 Share Posted May 17, 2010 Hi All, According to my experience about Basic, there was a way to create a database with Array. Is there any similar way in LISP? I want to ask the user for some inputs and in the background save those information in my Array database and then use that database for my calculations and producing the result. Cheers Ali Quote Link to comment Share on other sites More sharing options...
MSasu Posted May 17, 2010 Share Posted May 17, 2010 Generally speaking, the ARRAY equivalent in AutoLISP is LIST and for DICTIONARY have ASSOCIATED LIST. Regards, Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 17, 2010 Share Posted May 17, 2010 I suppose the closest equivalent is the ActiveX Safearray, but the as Msasu says, the LIST is more natural and easier to manipulate. Quote Link to comment Share on other sites More sharing options...
alijahed Posted May 17, 2010 Author Share Posted May 17, 2010 I suppose the closest equivalent is the ActiveX Safearray, but the as Msasu says, the LIST is more natural and easier to manipulate. Thanks guys, I have something to learn today. Cheers Ali Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 17, 2010 Share Posted May 17, 2010 Here are a few links that may aid in your learning: List Manipulation: http://ronleigh.info/autolisp/afude09.htm http://www.theswamp.org/index.php?topic=31473.0 Safearray Manipulation: http://www.theswamp.org/index.php?topic=31674.0 http://www.theswamp.org/index.php?topic=29248.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.