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

Home » Public Forums » archive » what am I doing wrong?
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: what am I doing wrong? [message #13037 is a reply to message #3602] Mon, 05 October 1998 00:00 Go to previous messageGo to previous message
Jeffrey Newmark is currently offline  Jeffrey Newmark
Messages: 8
Registered: April 1996
Junior Member
Hi Bruce,

Is this a section of a procedure or a top level script? If it is top
level then you need
$ to continue lines, otherwise, IDL compiles each line by itself.

cheers,
Jeff Newmark


Bruce Bowler wrote:

> I have a script that does...
>
>> anydata, subtemp, 45.0, 40.0, -71.5, -65.0, inbounds
>>
>> print, subtemp
>> print, inbounds
>>
>> if (inbounds eq 1) then begin
>> openw, tarunit, 'tarfile.include', /GET_LUN
>> printf, tarunit, l1a
>> printf, tarunit, ozonefile
>> printf, tarunit, metFile1
>> printf, tarunit, metFile2
>> printf, tarunit, 'SEAWIFS_SENSOR_CAL.TBL'
>> close, tarunit
>> endif
>
> When I run it, I get
>
>> S1998228192646.SST
>> 0
>
> and tarfile.include is created, which since inbounds is 0, shouldn't
> happen... can anyone explain why it's not working or some additional
> diagnostics that might point to the cause?
>
> TIA,
> Bruce



------------------------------------------------------------ ------

Dr. Jeffrey Newmark
SOHO - EIT Team Scientist

voice: (301) 286-3163 Code 682.3
email: newmark@eitv2.nascom.nasa.gov GSFC/NASA
newmark@gsfc.nasa.gov Greenbelt, MD 20771
  • Attachment: mail.inc
    (Size: 0.29KB, Downloaded 64 times)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restored Object Method Compilation
Next Topic: CENTERING TEXT

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

Current Time: Mon Oct 27 03:26:11 PDT 2025

Total time taken to generate the page: 4.47734 seconds