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

Home » Public Forums » archive » Widget_Message on the Mac
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Widget_Message on the Mac [message #14924] Tue, 30 March 1999 00:00
Phillip & Suzanne is currently offline  Phillip & Suzanne
Messages: 31
Registered: June 1998
Member
Hi all;

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?

Example:

Type the following at the IDL prompt:
ok = Widget_Message(['line one', 'line two'], /Information)

On Solaris and Windows, I get a dialog like this:

+------------------+
| Information |
+------------------+
| line one |
| line two |
| +------+ |
| | Ok | |
| +------+ |
+------------------+

On the Mac, it looks more like this:

+------------------+
| Information |
+------------------+
| line one� line |
| two |
| +------+ |
| | Ok | |
| +------+ |
+------------------+

Why? Any ideas how to fix it?

Phillip
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help: definition of the structure in COMMON block
Next Topic: Color Overlays on Gray-Scale Image

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

Current Time: Wed Oct 08 19:25:58 PDT 2025

Total time taken to generate the page: 0.00516 seconds