dcl-Grid-GetRowCells - returns as list

Started by Peter2, September 08, 2016, 06:04:14 AM

Previous topic - Next topic

Peter2

I have a row in my grid with these entries

Code (autolisp) Select
"Johnny Walker" "28" "Good bye" "Mary has a little lamp"


dcl-Grid-GetRowCells gives me:
Code (autolisp) Select
(Johnny Walker 28 Good bye Mary has a little lamp)

How to get a result like??
Code (autolisp) Select
("Johnny Walker" "28" "Good bye" "Mary has a little lamp")

Peter
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

roy_043

Perhaps you are using (princ) to display the return value. If so try using (print) instead.
To verify that a list of strings is returned you can use:
Code (autolisp) Select
(princ (mapcar 'type (dcl-Grid-GetRowCells ...)))