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

Home » Public Forums » archive » MESSAGE (used in VM) invokes DIALOG_MESSAGE: Can this be suppressed?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
MESSAGE (used in VM) invokes DIALOG_MESSAGE: Can this be suppressed? [message #88358] Wed, 16 April 2014 12:46 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Hello IDL wizards,

A quick search revealed that

> David Fanning said:
> Ugh, I *hate* MESSAGE

Clearly MESSAGE is a bad habit, but I used it for a long time, and so it's tough to weed out. The trouble is that when I run code interactively, which is most frequent, it works pretty much exactly how I want it to.

However, when the code is compiled and run non-interactively, the behavior of MESSAGE changes. Specifically, instead of printing to STDOUT or STDERR, it invokes DIALOG_MESSAGE. There is no acknowledgement in the IDL help of this behavior.

I can suppress this behavior, for code with no graphical output, by using 'unset DISPLAY' before running IDL. But that trick doesn't work for routines that make graphics.

Is there some other trick to get MESSAGE to behave? MESSAGE has lots of keyword options, but none appear to be related. Again, there is no acknowledgement in the help of the DIALOG_MESSAGE behavior.

--Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: traces plot outside of x-axis boundaries
Next Topic: Reading a Python numpy save (.npy) file into IDL

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

Current Time: Wed Oct 08 16:11:42 PDT 2025

Total time taken to generate the page: 0.00238 seconds