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

Home » Public Forums » archive » calling a function in herself
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
calling a function in herself [message #20893] Mon, 31 July 2000 00:00 Go to previous message
J�rg Schliwa is currently offline  J�rg Schliwa
Messages: 12
Registered: April 2000
Junior Member
Hy to all!

I have a file with the main-procedure and some functions in it. When I'm in
the function e.g h_wahl I want to call the function h_wahl again. Is that
possible? When I compile the file, the expression h_wahl is not known in
h_wahl.

e.g.
;procedure rasterung.pro

Function H_Wahl(a,b,Steig=steig,Abstand=abstand)
If Keyword_Set(abstand) Then .....

If Keyword_Set(steig) Then Begin
...
return, H_Wahl(c,d,/abstand)
Endif
End

pro rasterung...

Any suggestions?

Thanks in advance,
J�rg Schliwa
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Structure Pass By Reference?
Next Topic: Problems getting CURVEFIT to work

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

Current Time: Fri Oct 10 23:57:51 PDT 2025

Total time taken to generate the page: 1.61755 seconds