Subj : Re: Function argument name vs. arguments[xx] To : netscape.public.mozilla.jseng From : "Michael Putters" Date : Thu Nov 20 2003 11:09 pm This fixed few problems, thx ;p (I thought it was a fix only for VC++ 6, and I'm using 7.1, guess they have the same problem) "Michael Putters" wrote in message news:bpjcpu$nkd2@ripley.netscape.com... > I have an error reporter set, didn't get any message.. > Well, I'll try to fix that, thx > > > "Brendan Eich" wrote in message > news:3FBD1129.9030003@meer.net... > > Michael Putters wrote: > > > > >Hi again, and sorry to bother you all again ;p > > > > > > > > >function Square( value ) > > >{ > > > System.Print( arguments.length + '\n' ); // works > > > System.Print( arguments[0] + '\n' ); // works > > > System.Print( value + '\n' ); // fails > > >} > > > > > > > > >Ehm.. why? > > > > > > > > > > Please read > > http://www.mozilla.org/js/spidermonkey/release-notes/NOICF.html, just > > mentioned in this group in Phil's post at > > news://news.mozilla.org:119/bpdpjb$8r52@ripley.netscape.com. > > > > Please also use JS_SetErrorReporter so you can see error reports. > > You're flying blind without them. > > > > /be > > > > .