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

Home » Public Forums » archive » Re: Recursive function/procedure
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: Recursive function/procedure [message #15133] Sat, 24 April 1999 00:00 Go to previous message
Brian Jackel is currently offline  Brian Jackel
Messages: 34
Registered: January 1998
Member
Tri VU KHAC wrote:
>
> Hi folks,
>
> I did not see anyone tells about this problem:
>
> function AAA, a,b,C=c,D=d
> return, AAA(a, b, C=c, D=d)
> end
>
> Creating this function is very stupid. But the problem is not in this
> function.
> Writing this function is correct, I think. But if you compile this, the
> compilator says there is a syntax error:
>
> return, AAA(a, b, C=c, D=d)
> ^
> Syntax error.
>
> However, if I do a litle strick:
> +remove the two last parameters (c,d)
> +compile this function (no error here)
> +add the two last parameters (c,d)
> +re-compile this function - well, it passes with no error.
>
> Now this function already works very well.
> Could you tell me why ? How to avoid this stupid doing ?
> Best regards,

Take a look at the FORWARD_FUNCTION command.


--
Brian Jackel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Recursive function/procedure
Next Topic: Re: Mac SEND_EVENT

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

Current Time: Fri Oct 10 14:27:55 PDT 2025

Total time taken to generate the page: 0.40453 seconds