|
Re: Return statement must have 1 value? [message #10105 is a reply to message #10099] |
Tue, 21 October 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
David Kennedy has really been working too many late hours
when he writes:
> In the course of some quick and dirty data reduction I've hit a weird
> bug with the RETURN keyword. Its really confusing me (as well as stopping
> me from progressing with the work!). Help appreciated.
>
> It says:
> return answer
> ^
> % Return statement in functions must have 1 value.
Uh, try a comma, David. ;-)
Return, answer
Cheers,
(And go get some sleep, man!)
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|