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

Home » Public Forums » archive » Re: PRINTER device changed in IDL 6
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: PRINTER device changed in IDL 6 [message #38299 is a reply to message #38298] Mon, 01 March 2004 11:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Here is the test program:
>
> PRO Test
> thisDevice = !D.Name
> Set_Plot, 'PRINTER'
> TVLCT, 255, 255, 0, 200
> Set_Plot, thisDevice
> END
>
> This code runs fine in all versions of IDL prior to 6.0.
> But it fails in 6.0 (on both my Windows machines, at least)
> with the following error:
>
> % TVLCT: Error creating device colortable.
>
> Oddly, this program does not cause an error the FIRST time
> it is run in a new IDL session, only on subsequent times!!

I was wrong about it running in earlier versions of IDL.
It fails reliably in all of them if you run the program
enough times (2).

According to RSI this is listed as a known "defect",
but I am apparently the first person in recorded history
to run into it in practice. Not much motivation to get to
the bottom of it, as I understand it, unless more people
complain. I guess I'm talking to all three of you who
have downloaded the programs that go with my book. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: amoeba/mpfit/etc with a quantized variable?
Next Topic: Statistic codes: Significance level

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

Current Time: Fri Oct 10 01:00:57 PDT 2025

Total time taken to generate the page: 1.36091 seconds