Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: To interpret mathematic al formulas
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-02-2012 08:03 AM in reply to:
Lupo76
You hardly need to reinvent the wheel by fancy string parsing. Since AutoLISP was originally built, there has been a built-in calculator for this type of stuff. It is arx based and must be arxloaded or automatically loaded by using the cal command.
(cal "(3+5)*2")
16
It also has lots of really useful unique functions and keywords that it supports.


