I added these declarations for the debugger , at the start of a file
(outside of any class definitions)
var _;
var __;
var ___;

and I get these warnings from the debugger

     [java] Warning: Assignment to free variable ___ in
debugger/platform/swf9/LzDebug.as (87)
     [java] Warning: Assignment to free variable __ in
debugger/platform/swf9/LzDebug.as (90)
     [java] Warning: Assignment to free variable _ in
debugger/platform/swf9/LzDebug.as (92)



The method is doing some assignments , but why doesn't the compiler know
these are global vars?
Is there some regexp which is not matching these particular names in the
script compiler when it builds a list
of globals?



  override function displayResult (result) {
    if (typeof(result) != 'undefined') {
      // Advance saved results if you have a new one
      if (result !== _) {
        if (typeof(__) != 'undefined') {
          ___ = __;
        }
        if (typeof(_) != 'undefined') {
          __ = _;
        }
        _ = result;
      }
    }
    this.freshLine();
    // Output any result from the evalloader
    if (typeof(result) != 'undefined') {
      this.format("%#w", result);
    }
    this.freshPrompt();
  }
-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to