Ok, I think I've put it together. It will probably become apparent from my thinking out loud that I'm very new at this, but hopefully this will help another newbie.
After obtaining the list of layers as a vl object, lines 9 and 15 of the script return the named layer as a vl item.
The extension dictionary is then found for the layer and in lines 5 and 6 the extension dictionary is searched for the vl item identified as "ADSK_XREC_LAYER_RECONCILED". If the vl item is found, line 4 of the script returns nil, since there has been no error, and if the reconciled property is not found, 'vl-item applied to that extension dictionary returns an error, and vl-catch-all-error-p returns T.
Finally, line 3 inverts the T/nil so that logically, isreconciled returns true if the layer is reconciled!
Taking what I've learned, my script can be written as follows:
(defun c:getunreclayers
( / layers i unreclist
) i 0) ; Gather the layers in the active document and set a counter to 0
"ADSK_XREC_LAYER_RECONCILED") ; indicated by this string
)
)
(append unreclist
; If an error is returned, because the reconciled property is not found (list ; Add the name of the unreconciled layer )
)
)
)
)
(setq i
(+ i
1)) ; increase the counter by 1 )
)
unreclist ; return the list of unreconciled layers
)
It's not too pretty, I'm sure there are better ways of doing things, and I don't doubt that Lee Mac could write something functionally identical in just 4 lines, but it works and I'm happy with it.
Thanks again for your help Chris!