|
Re: Problems with tvrd(),true=1 [message #19084 is a reply to message #19083] |
Thu, 24 February 2000 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Med Bennett (mbennett@indra.com) writes:
> I am trying to read and save a sequence of images on my display. When I
> do this, I get an error, and I can't figure out why. Decomposed on or
> off gives the same result, as does any value of TRUE, i.e. 1,2,or 3.
> What does this mean?
>
>
>> Current graphics device: WIN
>> Screen Resolution: 1280x1024
>> Simultaneously displayable colors: 16777216
>> System colors reserved by Windows: 0
>> IDL Color Table Entries: 256
>> NOTE: this is a TrueColor device
>> Using Decomposed color
>> Graphics Function: 3 (copy)
>> Current Font: System
>> Default Backing Store: None.
>> Window Status: (ID: Type(x, y, backing store))
>> 0: Window ( 550, 898, Pixmap)
>>
>> IDL> a=tvrd(),true=1
>>
>> a=tvrd(),true=1
>> ^
>> % Syntax error.
Uh, I think it means the keyword needs to go inside the
parentheses. :-)
a = Tvrd(True=1)
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
|
|
|