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

Home » Public Forums » archive » Re: Widget_Message on the Mac
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Widget_Message on the Mac [message #14923 is a reply to message #14916] Tue, 30 March 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Phillip David (pdavid@earthling.net) writes:

> I was trying to use Widget_Message (which I regularly use on a Solaris
> machine) to display some information for a program running IDL 5.2 for
> Macintosh. However, when I passed an array of strings, they didn't print one
> per line like they do on other platforms. Instead, they were concatenated
> together. Has anyone else seen this behavior?

The proper name for this function is Dialog_Message. Widget_Message
is an obsolete routine that acts as a wrapper for Dialog_Message,
I think. :-)

> Why?

Uh...different operating system? Bad programming? Your guess
is as good as mine.

> Any ideas how to fix it?

My Mac is too old to be useful and a recent reformat of the
hard drive just knocked the old IDL off, but have you tried
embedding a Carriage Return in the message:

message = 'Line One!CLine Two'

Or maybe:

message = 'Line One' + String(13B) + 'Line Two'

Worth a try.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL-clones
Next Topic: Randomu in 5.2? Not working

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

Current Time: Wed Oct 08 15:57:47 PDT 2025

Total time taken to generate the page: 0.00367 seconds