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

Home » Public Forums » archive » Happy Reasons to use IDL 8.1
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: Happy Reasons to use IDL 8.1 [message #76351 is a reply to message #76218] Tue, 24 May 2011 13:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> What the *hell* is going on here!? :-(

OK, here is the problem. Here is my pared down code:

image = dist(200)
w = window(dimensions=[400,400])
img = image(image, /current)
END

This code when compiled always throws a syntax error
on the image command.

IDL> .compile -v 'C:\IDL\default\junk.pro'

img = image(image, /current)
^
% Syntax error.
At: C:\IDL\default\junk.pro, Line 3
% 1 Compilation error(s) in module $MAIN$.

What is *that* about!? Remove the CURRENT keyword
and the program compiles, although the image never
shows up anywhere!

Sheesh. Are you sure it's not Friday!?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: graphics window
Next Topic: command in matlab analogous to scope_varname?

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

Current Time: Thu Dec 04 15:31:13 PST 2025

Total time taken to generate the page: 1.28838 seconds