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

Home » Public Forums » archive » Re: READCOL compilation error
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: READCOL compilation error [message #41789 is a reply to message #41788] Tue, 07 December 2004 11:06 Go to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"Tyler" <newbie16@hotmail.com> wrote in message
news:f393b55a.0412071054.3ca1e6d3@posting.google.com...
...
> ================================ SNIP
> ====================================
>
> [thayes@somemachine ~virIDL]$ idl
> IDL Version 6.0 (linux x86 m32). (c) 2003, Research Systems, Inc.
>
> IDL> .compile READCOL
>
> tst = strnumber(var[i],val,hex=hex[i]) ;Valid
> number?
> ^
> % Syntax error.
> At: /home/thayes/virIDL/READCOL.pro, Line 244
> % 1 Compilation error(s) in module READCOL.
> IDL>
> ================================ SNIP
> ====================================

Offhand, I'd say you may have a problem with your path,
and IDL cannot find the function strnumber().

Try:
IDL> .comp strnumber

and see what happens. (does IDL find it? if so, run the code again.
If not, check your path !PATH and add the appropriate folders).
My guess is that IDL cannot find the function, and therefore interprets
strnumber as an array, and the hex=hex is a syntax error.

Cheers,
bob


PS I think strnumber is a function in the astronomy library, so it doesn't
come with IDL.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: combinatory analysis with restrictions
Next Topic: Re: query dicom

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

Current Time: Tue Oct 28 07:07:37 PDT 2025

Total time taken to generate the page: 1.67758 seconds