FileDocCategorySizeDatePackage
AsciiArray.javaAPI DocExample527Sun Mar 28 19:05:34 BST 1999None

AsciiArray

public class AsciiArray extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    
    byte[] b = new byte[(127-31)*2];
    int index = 0;
    for (int i = 32; i < 127; i++) {
      b[index++] = (byte) i;
      // break line after every eight characters
      if (i % 8 == 7) b[index++] = (byte) '\n";
      else b[index++] = (byte) '\t";
    }
    b[index++] = (byte) '\n";
    try {
      System.out.write(b);
    }
    catch (IOException e) {
      System.err.println(e);
    }