eg0n Posted October 27, 2010 Share Posted October 27, 2010 I want to fill an array with the elements of a list. The problem is that when I want to define the dimensions of the array, the upper bound depends on the length of my list so I use the following code: (setq array (vlax-make-safearray vlax-vbDouble '(0 . (- (length newlist) 1)))) and I get a "bad argument type: fixnump: (- (LENGTH NEWLIST) 1)" error. Any ideas would be really helpful. :? Quote Link to comment Share on other sites More sharing options...
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.