On Mar 27, 3:31 pm, "scripts.contact" <scripts.cont...@gmail.com>
wrote:
On Mar 27, 1:37 am, Geoff Cox wrote:
>function x(){
for(var i=0;;i++)
x()
>}
>x()
Yes, true enough I get stack overflow pop up box headed
Presumably this is a resursive example but what next?!
nothing. i was just replying to VK that he is wrong.
Yep, I was wrong - it is good I carefully reserved my rights for a
mistake in the first post :-)
It is a tricky matter with this run-time error. By different IE6 / IE7
minors the posted sample is reported by errorObject.message either
"Out of memory" (most of cases) or "Out of stack space" (the OP's
case). But jscript.dll doesn't have such message, as I said.
http://msdn2.microsoft.com/en-us/library/1dk3k160.aspx
Moreover errorObject.number reported as 7 without the regular service
bytes prefix: all JScript own errors are prefixed by two service bytes
so to get the actual number you do err.number&0xFFFF but not for this
error AFAICT
So I guess it is a propagation from some system module linked with
jscript.dll
All this may be interesting but doesn't help to OP. For his "what
next?!" question the answer remains the same:
1) Identify at least one resource where the problem can be reproduced.
2) Link this resource in this thread or post a minimum code
demonstating this problem.