[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
calling a function in herself
- Subject: calling a function in herself
- From: "Jörg Schliwa" <joerg.schliwa(at)ewetel.net>
- Date: Mon, 31 Jul 2000 19:18:33 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: EWE TEL
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20528
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