Singular

Home Online Manual
Top
Back: noether
Forward: short
FastBack: Control structures
FastForward: Tricks and pitfalls
Up: System variables
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

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.