PRO printv, verb, str ; Description: This module prints the string "str" to the screen only if the parameter "verb" ; is set to "1". This module is useful for controlling the printed output from ; any program. ; ; Input Parameters: ; ; verb - INTEGER/LONG - If this parameter is set to "1", then the module will print the ; string "str" to the screen. If this parameter is set to any other ; value, then the module will do nothing. ; str - STRING - The string to be printed to the screen if required. If this parameter is ; not a scalar string, then the module will do nothing. ; ; Author: Dan Bramich (dmb@ing.iac.es) ; ; History: ; ; 07/11/2008 - Module created (dmb) ;If "str" is not a scalar string, then do nothing ;If the parameter "verb" is set to "1", then print the string "str" to the screen