I wanted to re-visit this NIL thread again while analyzing this code here:
(DleaderWhile
;DleaderWhile subfunction call
nil
;empty list
(vlax-ename->vla-object (car DQobject))
;(retrieve first element of DQobject *list*) (transform DQobject entity to vla-object)
nil
;empty list
)
Notice I've added some comments for what I think is going on. So is this just setting the list empty? To be filled later within the program? Or to preserve memory?