Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbose array printing #24

Open
jacobwilliams opened this issue Feb 29, 2016 · 1 comment
Open

Verbose array printing #24

jacobwilliams opened this issue Feb 29, 2016 · 1 comment

Comments

@jacobwilliams
Copy link

Feature suggestion:

If the final variable within a derived type is an array, currently write will produce a file like this:

    a%b%c = 1, 1, 1, 

Would it be possible to have the option to write them line by line like so:

    a%b%c(1) = 1,
    a%b%c(2) = 1,
    a%b%c(3) = 1,

Note that if a or b are arrays, then it does print them line by line.

@marshallward
Copy link
Owner

Yes, I agree this would be a nice feature.

I think the current one-line-per-index printing is a bit half-baked because it was added later to accomodate multidimensions and derived type arrays. But hopefully it won't be too hard to unpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants