### 5.3.6 printlevel

`Type:`
  int
`Purpose:`
  sets the debug level for `dbprint`. If `printlevel` >= `voice` then `dbprint` is equivalent to `print`, otherwise nothing is printed.
`Note:`
  See Procedures in a library, for a small example about how this is used for the display of comments while procedures are executed.
`Example:`

        voice;
      ==> 1
        printlevel=0;
        dbprint(1);
        printlevel=voice;
        dbprint(1);
      ==> 1

See dbprint; int; voice.

User manual for Singular version 4-0-3, 2016, generated by texi2html.