Draw short integers as numbers, not characters

@couet I think:

The `myvar` column, which holds the variable size, **MUST** be an `Int_t` (/I).

message should also explicitly appear immediately in the TTree → “fundamental types” section, at the end of the “Examples:” (it’s called there “myvar” instead of “nelem”), as almost nobody will ever read the TTree::Branch method description (well, even I forgot that it needed fixes, too).

And maybe modify also:

... and the size of which is stored in an `Int_t` (/I) branch called `myArrSize`, ...`

done. see: [skip-ci] Update ttree doc by couet · Pull Request #11847 · root-project/root · GitHub

Not sure what you mean by that …

@couet Just see the last point in the TTree → “fundamental types” section … I propose to modify it a bit (instead of “in a branch”, explicitly say “in an Int_t (/I) branch”).

@Wile_E_Coyote . Oh I see. Thanks ! Update done. See:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.