OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Peter2 on September 08, 2016, 06:04:14 AM

Title: dcl-Grid-GetRowCells - returns as list
Post by: Peter2 on September 08, 2016, 06:04:14 AM
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
Title: Re: dcl-Grid-GetRowCells - returns as list
Post by: roy_043 on September 08, 2016, 11:19:53 AM
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 ...)))