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

Home » Public Forums » archive » output keywords
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
output keywords [message #4075] Tue, 25 April 1995 00:00
orbach is currently offline  orbach
Messages: 9
Registered: June 1994
Junior Member
Here's a question about output variables and keywords: it seems that I cannot
create a new variable using an output keyword, but can modify an already
existing one. The specific program I wrote is an image viewer, which opens a specified
file and displays an image, and can be called with an additional keyword for output
(e.g. iname = iname). If iname has never been defined before, then after calling my
viewer, if I type: info, iname, I get: INAME UNDEFINED=<Undefined>. However, if
I first define iname, say as a 100*100 fltarr, after running my viewer, iname is rescaled
to fit whatever size the image was that I was viewing (in this example, info, iname) yields:
INAME FLOAT = Array(384, 288). Why is this?

Darren Orbach
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RE: Idl 3.6.1a And Solaris 2.4
Next Topic: Re: Is there an emacs mode??

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

Current Time: Wed Oct 08 17:32:26 PDT 2025

Total time taken to generate the page: 0.00540 seconds