tblnext
(tblnext table_type [first])
The tblnext function returns the first or the next record of a table specified by table_type.
Arguments
table_type specifies the table to be searched. Valid names are: APPID, BLOCK, DIMSTYLE, GROUP, LAYER, LTYPE, STYLE, UCS, VIEW, and VPORT.
If the argument first is not specified or nil, the next entry (following the current pointer position) is returned. If the argument first is not nil, that is true (T), the first entry of the specified table is returned.
Return Value
If no table entry is found, the function returns nil.
: (tblnext "LAYER" T)
((0 . "LAYER") (2 . "0") (70 . 64) (62 . 7) (6 . "CONTINUOUS"))