- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I have discovered a strange problem. Sometimes, a long list of numbers cannot be resolved. (EVAL (CONS + (MAPCAR ...))) will produce no result and no error. The return to the console is just a blank line. The program in which the numeric result is expected will return an error indicating the value is not a number. I have examined the list resulting from (MAPCAR ...) and confirmed that it is populated with REALs and nothing else. I have manually submitted the list (CONS + <number list>) to the console for evaluation and it returns a blank line and nothing else; however,
I can successfully use (setq x 0)(foreach n <number list> (setq x (+ x n)) to get the sum.
Is there a limit to the length of a list of numbers that the function + can sum? This particular list has 2276 numbers in it.
Product Version: 13.6.1963.0 Civil 3D 2024.4.1 Update Built on: U.202.0.0 AutoCAD 2024.1.6
27.0.37.14 Autodesk AutoCAD Map 3D 2024.0.1
8.6.52.0 AutoCAD Architecture 2024
Solved! Go to Solution.