Re: Suppressing Print
- To: mathgroup at smc.vnet.net
- Subject: [mg32679] Re: [mg32665] Suppressing Print
- From: Ken Levasseur <Kenneth_Levasseur at uml.edu>
- Date: Wed, 6 Feb 2002 03:41:32 -0500 (EST)
- References: <200202040823.DAA23995@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Aaron: I think that one of the most common ways to handle this is to give your functions an option. For example you could call it Verbose. Depending on whether you do or don't print in most cases, you would set Options[YourFunction]={Verbose->(True or False)}. If the default is True you would evaluate the functions in the loops with Verbose->False. Are you familiar with programming options into a function? Ken Levasseur Math. Sci. UMass Lowell Aaron wrote: > Is it possible to suppress Print commands in a function. I have > written several functions, most of which have Print commands providing > feedback during the operation. A couple of these functions are called > in loops inside of other functions and I would like to suppress the > Print functions of these embedded function calls. > Thanks > Aaron
- References:
- Suppressing Print
- From: au198295@hotmail.com (Aaron)
- Suppressing Print