I wanted to make an executable that would quickly dump a scan query to stdout and was annoyed w/ having to always hit return every 50 rows. So it was nicely documented on the web for this function:
By default 50 rows are shown and you are asked for
to see the next 50 rows.
You can change the default number of rows to be shown before
via mytree->SetScanfield(maxrows) where maxrows is 50 by default.
Just note that the function is ‘SetScanField’ where the f should be capital.
Otherwise this documentation is quite helpful.