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

Home » Public Forums » archive » Another IDL twist
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
Another IDL twist [message #18290] Thu, 16 December 1999 00:00 Go to next message
edward.s.meinel is currently offline  edward.s.meinel
Messages: 12
Registered: May 1999
Junior Member
Does anyone know the rhyme or reason for the calling methods for the
built-in IDL READ_* procedures? Sometimes it is:

image = READ_ASCII(file_name)

but other times it is:

READ_GIF, file_name, image

What's going on? Do I just have to look it up everytime?

READ_ASCII Function
READ_BMP Function
READ_DICOM Function
READ_GIF Procedure
READ_INTERFILE Procedure
READ_JPEG Procedure
READ_PICT Procedure
READ_PNG Function
READ_PPM Procedure
READ_SPR Function
READ_SRF Procedure
READ_SYLK Function
READ_TIFF Function
READ_WAVE Procedure
READ_X11_BITMAP Procedure
READ_XWD Function

At least the QUERY_* routines are all functions...

Ed "twistin' the night away" Meinel


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: Another IDL twist [message #18370 is a reply to message #18290] Sat, 18 December 1999 00:00 Go to previous message
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
edward.s.meinel@aero.org writes:

> Does anyone know the rhyme or reason for the
> calling methods for the built-in IDL READ_*
> procedures? Sometimes it is:
>
> image = READ_ASCII(file_name)
>
> but other times it is:
>
> READ_GIF, file_name, image
>
> What's going on?
> Do I just have to look it up everytime?

One option is to upgrade to 5.3. I've only played with the new
query_image, read_image and write_image routines (and the dialog_xxx
versions) but it looks like they'll do a lot of the hard work for you.


Struan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Scrolling text
Next Topic: Scrolling text

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

Current Time: Fri Oct 10 11:14:14 PDT 2025

Total time taken to generate the page: 1.11862 seconds