Re: Intermittent Error 12 - Variable Not Found

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Menu proc:

private var
^^^^^^^^^^^
This statement does *NOT* create a variable var, only that var
will now refer to something new (i.e. not a var that was assigned to
previously).

Do you assign a value to var in here? That will create var with
scope of the menu procedure and on.

Yes a value is assigned in the menu procedure.

.



Relevant Pages

  • Re: Confused
    ... Depends on how myFunc is called. ... this.a would refer to the global var 'a'. ... In the course of replying to other posts, ...
    (comp.lang.javascript)
  • Re: querySelector wrappers?
    ... Throws a ReferenceError or TypeError if there is no Element.prototype. ... Existence of either property is not required, `Element' would refer to a ... var cn = this.className; ...
    (comp.lang.javascript)
  • Re: Check if Function Exists
    ... IE 5&6 and FF 2& 3's engines, which are slow on typeof AFAIK. ... var t = new Date- d; ... `top' is a property of proprietary Window objects to refer to the ...
    (comp.lang.javascript)
  • Re: Is the word "this" a key word in TCL?
    ... upvar #0 $this,var var ... upvar #0 $this,data data ... 1, comma can be a part of a variable name in TCL, but not a seperator. ... refer to arguments of a procedure. ...
    (comp.lang.tcl)
  • Re: Set Document Object
    ... like to refer back to elements in frame1 using ... var document = parent.frame1.document; ... var doc = parent.frame1.document; ...
    (comp.lang.javascript)