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

Home » Public Forums » archive » problem
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: Problem [message #80472 is a reply to message #51039] Thu, 14 June 2012 07:17 Go to previous messageGo to previous message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
That error means that the code thinks that 'curve' is a function, not a variable. Check it is defined as a variable, e.g. curve=[0,1,2,3,4,5] or similar, and check how you are referring to it in your code (i.e. that you're not calling it like a procedure/function).

On Thursday, June 14, 2012 5:05:19 AM UTC-4, fada...@gmail.com wrote:
> On Wednesday, June 13, 2012 10:51:58 PM UTC+9, Andy Sayer wrote:
>> I'd check that your variable 'curve' is defined and an array. The error message suggests it is not.
>>
>> Hope this helps,
>>
>> Andy
>>
>> On Wednesday, June 13, 2012 3:59:53 AM UTC-4, hadi wrote:
>>> Dear friend
>>> I have another problem. i tried to running this command as follow as;
>>> plot, time,curve, position=[0.1,0.55,0.95,0.95]
>>> but I recieved this error.
>>> % PLOT: Expression must be an array in this context: CURVE.
>>> % Error occurred at: $MAIN$
>>> % Execution halted at: $MAIN$
>>> What is meaning? please help me. Thank you
>>> Best, Hadi
>
> Dear Andy
> for example i wrote the curve in the command line i found this message.
> curve
> % Attempt to call undefined procedure/function: 'CURVE'.
> % Error occurred at: $MAIN$
> % Execution halted at: $MAIN$
> I can not understand the meaning of this experession. Could you help me about this. Thank you
> Best, Hadi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing and Replacing Nan values in IDL
Next Topic: Rescaling byte (0-200) ndvi to -1 to 1 values

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

Current Time: Sun Oct 12 22:28:26 PDT 2025

Total time taken to generate the page: 1.92074 seconds