std-verbose-print | ![]() |
(std-verbose-print <msg>) ; prints if *VERBOSE*
(std-debug-print <msg>) ; prints if *DEBUG*
STD-VERBOSE-PRINT uses STD-PRINC to print a message to the console if the global variable *VERBOSE* is set.
STD-DEBUG-PRINT uses STD-PRINC to print a message to the console if the global variable *DEBUG* is set.
This is used for informal messages to the user or the programmer which might easily be turned off by setting *VERBOSE* or *DEBUG* to nil.
For details about STD-PRINC like taking lists and honoring *PRINT-LENGTH* and *PRINT-LEVEL* see STD-PRINC.
Also note that the name ends with PRINT but it uses PRINC not PRINT! This reflects the semantic of the name, but not the feature. (keep it readable)
(std-verbose-print (list "\npass: " i)) (std-debug-print (list "\nN is " n))
msg: any valid lisp expression. Most likely a list of to be printed expressions.
Not defined. Most likely NIL
This is a typical function only used for its side effect.
(std-require 'STDLISP)
Defined in STDLISP