alijahed Posted May 17, 2010 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
MSasu Posted May 17, 2010 Posted May 17, 2010 Generally speaking, the ARRAY equivalent in AutoLISP is LIST and for DICTIONARY have ASSOCIATED LIST. Regards, Quote
Lee Mac Posted May 17, 2010 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
alijahed Posted May 17, 2010 Author 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
Lee Mac Posted May 17, 2010 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
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.