comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Suppress print statement from nested procedures
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Suppress print statement from nested procedures [message #86507] Thu, 14 November 2013 15:24 Go to previous message
Sam is currently offline  Sam
Messages: 4
Registered: March 1999
Junior Member
Hello all,

I built a wrapper for a procedure (it calls many others, in turn), but the output that was important for the original program is no long important. In fact it's quite a nuisance. I'd rather not dig down into the subroutines to add the option to turn off printing -- this would be a major effort. Is there an IDL equivalent of redirecting to /dev/null (or a text file) when calling a procedure from within another procedure? In a perfect world, it would be:

pro wrapper
[snip]
while i lt 1000 do begin
[snip]
main_procedure >& /dev/null
[snip]
i++
endwhile
[snip]
end


Thanks!

Sam
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Illegal operand error with window,/free
Next Topic: help with write_gif - Image must be a byte matrix.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:06:16 PDT 2025

Total time taken to generate the page: 0.00446 seconds