Hi,
Is there an easy way to pretty-print a struct which also includes arrays?
pretty_array does a very good job for arrays.
ZZ
| Thread overview | 
|---|
| March 31, 2022How pretty-print a struct? | ||||
|---|---|---|---|---|
| 
 | ||||
| Hi, Is there an easy way to pretty-print a struct which also includes arrays? pretty_array does a very good job for arrays. ZZ | ||||
| March 31, 2022Re: How pretty-print a struct? | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to ZZ | On Thursday, 31 March 2022 at 06:35:15 UTC, ZZ wrote:> Hi, Is there an easy way to pretty-print a struct which also includes arrays? pretty_array does a very good job for arrays. If you want the field variable names in the output, you can use: | |||
| March 31, 2022Re: How pretty-print a struct? | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to mw | On Thursday, 31 March 2022 at 16:08:19 UTC, mw wrote:> On Thursday, 31 March 2022 at 06:35:15 UTC, ZZ wrote:> Hi, Is there an easy way to pretty-print a struct which also includes arrays? pretty_array does a very good job for arrays. If you want the field variable names in the output, you can use: Thanks. | |||