Subj : Calling a function before it's declared To : netscape.public.mozilla.jseng From : Egor.Senin Date : Wed Nov 24 2004 02:38 am Hi ! Is there any way to make the following code work in Rhino: funcThatIsDeclaredLater(); function funcThatIsDeclaredLater(){ // do something } The problem is that the function is declared after it's called. Egor. .