home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 May / PCO_5_97.ISO / FilesBBS / OS2 / NETREXX.ARJ / NETREXX.ZIP / NetRexx / netrexx / lang / RexxSet.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-02-17  |  932 b   |  38 lines

  1. package netrexx.lang;
  2.  
  3. public final class RexxSet {
  4.    public static final byte SCIENTIFIC = 0;
  5.    public static final byte ENGINEERING = 1;
  6.    public static final byte DEFAULT_FORM = 0;
  7.    public static final int DEFAULT_DIGITS = 9;
  8.    public int digits;
  9.    public byte form;
  10.    // $FF: renamed from: $0 java.lang.String
  11.    private static final String field_0 = "RexxSet.nrx";
  12.  
  13.    public RexxSet() {
  14.       this.digits = 9;
  15.    }
  16.  
  17.    public RexxSet(int var1) {
  18.       this();
  19.       this.digits = var1;
  20.    }
  21.  
  22.    public RexxSet(int var1, byte var2) {
  23.       this();
  24.       this.digits = var1;
  25.       this.form = var2;
  26.    }
  27.  
  28.    public RexxSet(RexxSet var1) {
  29.       this();
  30.       this.digits = var1.digits;
  31.       this.form = var1.form;
  32.    }
  33.  
  34.    public Rexx formword() {
  35.       return this.form == 0 ? new Rexx("scientific") : new Rexx("engineering");
  36.    }
  37. }
  38.