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

Home » Public Forums » archive » Re: Return statement must have 1 value?
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: Return statement must have 1 value? [message #10099] Wed, 22 October 1997 00:00 Go to previous message
D.Kennedy is currently offline  D.Kennedy
Messages: 26
Registered: January 1997
Junior Member
In article <62j96i$315$1@news.qub.ac.uk>,
D.Kennedy@qub.ac.uk (David Kennedy) writes:
> % Return statement in functions must have 1 value.
> return answer

Thanks to those who emailed to point out that I had forgotten the
comma in the above statement. I am, of course, a complete fool.

(I wouldn't mind but I had three other functions in the same file
with the correct syntax. I _knew_ I had been staring at something
obvious...)
--
David Kennedy, Dept. of Pure & Applied Physics, Queen's University of Belfast
Email: D.Kennedy@Queens-Belfast.ac.uk | URL: http://star.pst.qub.ac.uk/~dcjk/
My .sig was so clever that it actually escaped!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: german umlaut
Next Topic: Putting bytes into structures

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

Current Time: Wed Oct 08 15:33:46 PDT 2025

Total time taken to generate the page: 0.00357 seconds