Subj : Re: Beginners Question To : netscape.public.mozilla.jseng From : Igor Bukanov Date : Thu Dec 16 2004 12:37 am redcoat wrote: > Hi, > > If I am running embedded Rhino, and execute a script which is in a > file, is there some function that gets called first / a way to specify > which function / or just global statements? When executing scripts Rhino follows ECMAScript standard, ECMA-262, chapter 14. Thus it initially executes all definitions of global function in the script and then executes the rest of statements. Regards, Igor .