home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 August / PCO0897.ISO / filesbbs / os2 / fp1os2.arj / OS2 / DATA / 49 / C / 0 / F_26836 / JScriptPCode.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-05-15  |  1.3 KB  |  36 lines

  1. import java.io.PrintStream;
  2. import stardiv.tools.SjProtocolWindow;
  3.  
  4. abstract class JScriptPCode {
  5.    private static long nObjCount;
  6.    public static final int PCODE_STANDARD_RESULT = -1;
  7.    public static final int PCODE_TERMINATED = -2;
  8.    public static final int PCODE_BREAKPOINT = -3;
  9.  
  10.    protected void finalize() {
  11.       SjProtocolWindow.DecUser2Count();
  12.       if (SjProtocolWindow.IsMemTraceModeOn()) {
  13.          System.out.println(--nObjCount + "+++DESTR. " + this);
  14.       }
  15.  
  16.    }
  17.  
  18.    protected void Constr() {
  19.       SjProtocolWindow.IncUser2Count();
  20.       if (SjProtocolWindow.IsMemTraceModeOn()) {
  21.          System.out.println(++nObjCount + "+++CONSTR. " + this);
  22.       }
  23.  
  24.    }
  25.  
  26.    public JScriptPCode() {
  27.       this.Constr();
  28.    }
  29.  
  30.    public abstract int Execute(JScriptRuntimeParam var1) throws JSbxExceptionBase;
  31.  
  32.    public void Dump(PrintStream var1) {
  33.       var1.println("JScriptPCode-Basis-Klasse");
  34.    }
  35. }
  36.